64,651
社区成员
发帖
与我相关
我的任务
分享
struct Base{
int m_;
Base(int i):m_(i){ }
};
struct Drived:public Base {
Drived(int j):Base(j){}
};
int main()
{
Drived obj(4);
system("pause");
return 0;
}