1 C++初识
1.1 第一个C++程序
编写一个C++程序总共分为4个步骤:
1.1.1 C++程序通用模块
#include <iostream>
using namespace std;
int main()
{
systeam("pause");
return 0;
)
1.1.2 C++书写HelloWorld
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World">>endl;
system("pause");
return 0;
}
1.2 注释