[C++]第一个C++程序

#include<iostream> //包含头文件
using namespace std; //使用名字空间
int main()        //主函数,C++函数执行起点,int表示函数计算结果
{
	cout<<"hello world"<<endl; //endl为换行
	return 0;      //函数结束返回0
 } 

猜你喜欢

转载自blog.csdn.net/TOMOCAT/article/details/89600415