Programming basics: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== 规则 == | == 规则 == | ||
<pre> | <pre> | ||
; | ; 分号 表明一条语句 | ||
{} | {} 花括号 表明一个语句块 | ||
 空格 用于区分语法单元 | |||
// | // 双斜杠 为注释符 | ||
/* */为注释符 | /* */   为注释符 | ||
</pre> | </pre> |
Revision as of 16:17, 12 February 2025
VSCode
规则
; 分号 表明一条语句 {} 花括号 表明一个语句块 空格 用于区分语法单元 // 双斜杠 为注释符 /* */ 为注释符