語言 | 單行註釋 | 多行註釋 |
---|---|---|
C | //This is a one-line comment |
/*this is a comment*/ |
C++ | //This is a one-line comment |
/*this is a comment*/ |
Java | //This is a one-line comment |
/*this is a comment*/ |
Python | #This is a one-line comment |
"""this is a comment""" or'''this is a comment''' |
JavaScript | //This is a one-line comment |
/*this is a comment*/ |
Html | <!-- this is comments --> |
|
Css | /*this is comments*/ |
|
常用編程語言註釋
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
深入學習和理解Django視圖層:處理請求與響應
Mifen
2024-05-05 13:38:28
如何閱讀 Paper
mghio
2024-05-05 13:32:48
REACT: SYNERGIZING REASONING AND ACTING IN LANGUAGE MODELS
initial_h
2024-05-05 13:32:27
sysbench的部分基準性能測試學習
濟南小老虎
2024-05-05 13:29:27
[轉帖]sysbench基準測試
濟南小老虎
2024-05-05 13:29:27
C++ lambda的重載
apocelipes
2024-05-05 13:22:37
關於農業種植的若干思考
LittleHann
2024-05-05 13:16:36
爲什麼有的人說技術不重要,有的人說重要?
killianxu
2024-05-05 13:10:35
博客性能優化筆記 | 99分
粥裏有勺糖
2024-05-05 13:06:15
LLM2Vec介紹和將Llama 3轉換爲嵌入模型代碼示例
deephub
2024-05-05 13:04:45
開發Android應用程序,在Android10的系統上提示網絡出錯?
LoveCoder
2024-05-05 13:02:54
HTML頁面關於高分屏的設置
harlee44
2024-05-04 14:31:10
24小時熱門文章