#'hello word'程序的实现以及注释的方法#
#include<iostream>
using namespace std;
int main() {
cout << "hello world" << endl; //只有这一行是输出的内容,其他的是固定的框架
system("pause");
return 0;
}
//在C++中用两个斜杠表示单行注释
/*用这种方式
可以表示多行注释
*/
#include<iostream>
using namespace std;
int main() {
cout << "hello world" << endl; //只有这一行是输出的内容,其他的是固定的框架
system("pause");
return 0;
}
//在C++中用两个斜杠表示单行注释
/*用这种方式
可以表示多行注释
*/