2014年9月22日

类函数返回该类的问题<<0922

摘要: ```#include #include #include using namespace std;/* * 本例错误的原因是:set系列函数返回的是对象 * 所以返回时产生了一个临时的对象 */class Student{ public: Student() ... 阅读全文

posted @ 2014-09-22 17:16 __hello world 阅读(167) 评论(0) 推荐(0) 编辑

导航