单行注释: // 多行注释:/* */ #include<iostream> using namespace std; int main() { //单行注释 /*多行 注释,输出 hello C++*/ cout << "hello C++" << endl; system("pause"); return 0; }