helloworld的书写
#includeusing namespace std; int main1() { //单行注释 cout << "hello world" << endl; system("pause"); return 0; }
变量:
#includeusing namespace std; int main2() { //变量:临时存储数据的容器 //方便内存管理 int a = 666; cout << "a = " << a << endl; system("pause"); return 0; }



