#include(iostream)//头文件 using namespace std;//名字空间 int main()//主函数 { cout<<"Hello,world!"; return0;//函数返回值 }