天猫清关材料能删除吗:哪位高手啊来帮忙解答这个C++填空题啊 急~~~

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 06:58:35
Creating B
end of B
end of A
#include<iostream.h>
class A
{
public:
A(){}
______ {cout<<"end of A"<<endl;}
};
class B:public A
{
public:
B(){____________}
~B(){cout<<"end of B"<<endl;}
};
void main()
{
B b;
}
要正确的哦!!

分别填上就可以了
~A()
cout<<"Creating B"<<endl;

~A()
cout<<"Creating B"<<endl;