64,654
社区成员
发帖
与我相关
我的任务
分享
class test{
private:
int a;
public:
test();
test(const test& T){
a = T.a;
};
~test();
int getdate();//返回a的值,实现我就不写了
}
class test{
private:
int a;
public:
test();
test(const test& T){
a = T.getdata();
};
~test();
int getdate();//返回a的值,实现我就不写了
}