摘要: 首先拷贝构造函数的声明方法:类名::类名(const 类名&)1、浅拷贝的实现程序:#include "stdafx.h"#include #include using namespace std;class Person{public: //构造函数 Person(const char *nam... 阅读全文
posted @ 2015-06-19 21:40 SWordStudio 阅读(283) 评论(0) 推荐(0) 编辑