comments.cpp
来自「20学时功课c++ 所有例子」· C++ 代码 · 共 16 行
CPP
16 行
#include <iostream>
int main()
{
/* this is a c-style comment
and it extends until the closing
star-slash comment mark */
std::cout << "Hello World!\n";
// this c++-style comment ends at the end of the line
std::cout << "That comment ended!";
// double slash comments can be alone on a line
/* as can slash-star comments */
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?