2021年1月8日

对象的赋值与复制及拷贝构造函数

摘要: 8、小作业:实现 CStudent 类的拷贝构造函数,让 第 7 点的代码不崩溃!要慎重 new 和 delete 哦! #include <iostream> #include <string> using namespace std; class Student { public: char* 阅读全文

posted @ 2021-01-08 20:23 SakuraQAQ 阅读(115) 评论(0) 推荐(0)

导航