2017年7月24日

C++运算符重载

摘要: 可看一博主文章http://blog.csdn.net/insistgogo/article/details/6626952 下面是自+1的函数重载 //单目运算符重装++, -- Person& operator++() //++a; { this->age += 1; return *this; 阅读全文

posted @ 2017-07-24 16:41 别人都叫我陈科 阅读(108) 评论(0) 推荐(0) 编辑

导航