(4)行尾注释(End-of-line comment),简称行注释(Line comment),是对 该行程序的简短解释;必要时才编写,放在程序行的后面。
基于46个网页-相关网页
给三行代码加一行注释,只需要你几秒时间。
It only takes a second to add an additional comment line for each 3 lines of code.
作者为此常常采用的一种技巧是把对于理解当前例子不是必需的代码段用一行注释来代替。
This is often achieved with substituting blocks of code with a single lined comment when such blocks are not essential for the understanding of the current sample.
其他以 # 字符开始的行是注释,执行时将被忽略。
Other lines that start with a hash sign (#) are comments and are ignored by the computer.
应用推荐