- 博客(2)
- 收藏
- 关注
原创 拷贝构造函数与赋值构造函数
// R.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include using namespace std; class A
2010-06-06 00:21:00 433
原创 拷贝构造函数与赋值构造函数
<br />// R.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <string>#include <iostream>using namespace std; class A { public: A() { } A(A &a);//重载拷贝函数 A(int id,char* t_name)
2010-06-06 00:15:00 337
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人