单行注释
//
多行注释
/**/
#include<iostream>
using namespace std;
int main()
{
//输出hello world
/*main是一个程序的入口,
每个程序都必须有这么一个函数,
有且仅有一个*/
cout << "hello world" << endl;
system("pause");
return 0;
}
单行注释
//
多行注释
/**/
#include<iostream>
using namespace std;
int main()
{
//输出hello world
/*main是一个程序的入口,
每个程序都必须有这么一个函数,
有且仅有一个*/
cout << "hello world" << endl;
system("pause");
return 0;
}