一、c++静态成员和临时对象#include using namespace std;class human{public:human(){human_num++;}static int human_num;~human(){human_num--;print();}void print(){cout<<"human num is:"<<human_num<<endl;}};int human::human_num = 0;human f1 (human x){x.print();return x;}int mai...【阅读全文】
2016年1月23日17:53:52VI三种工作模式: 命令行模式:打开文件的默认模式; 插入模式:插入文字。 底行模式:按‘:’退出保存等。GCC:GNU Compiler CollectionGPL:GNU通用公共许可证(GNU General Public License,GPL)编译过程可以分为...【阅读全文】