#include<iostream> //头文件,也可以称为库文件,它包含我们所需要的函数 using namespace std; //命名空间 作用:下面的cout可以直接写,没有的话需这样写std::cout int main() { cout << "Hello world" << endl; system("pause"); return 0; }