最新回答 / 搞笑啊
<...code...>#include <iostream>#include <string>using namespace std;/** * 定义类:Student * 数据成员:m_strName * 无参构造函数:Student() * 有参构造函数:Student(string _name) * 拷贝构造函数:Student(co...
2016-05-31
最赞回答 / 慕仔6680096
拷贝构造函数是不能被重载的,因为拷贝构造函数的参数是确定的。在C++封装篇(上)的关于拷贝构造函数的课程第6章中6-9的练习中就有这个问题,你可以去看看。
2016-05-29