# C++的打印 # 1. 打印 ① cout << "XXXX" << endl; 会使得屏幕打印双引号里面的字符串。 ② system("pause"); 会使得屏幕的打印界面暂停到该语句这里,按任意键后才会继续运行。 ```python //下面11行代码的含义就是在屏幕中输出一个 Hello World #include using namespace std; int main() { cout << "hello C++" << endl; //屏幕显示“hello C++” system("pause"); //按任意键继续,退出程序 return 0; } ``` 运行结果: - hello C++ - 请按任意键继续. . .