#include <iostream> //预处理器编译指令#include int main(void) //函数头 { //函数体{ using namespace std; //编译指令 cout << "你好"; //语句 cout<<endl; //换行 cout << "欢迎学习C++" << endl; //语句 return 0; //函数返回0 } //函数体}
(第一课)进入C++
原文:https://www.cnblogs.com/ceovs/p/14672083.html