C++版Hello World时间:2023-03-08 22:26:59 代码 #include <iostream> using namespace std; int main() { cout << "hello world!" << endl; //endl 是换行,与使用'\n'作用一样 return ; } 开头那两句代码 暂时先记住吧 #include <iostream> using namespace std;