派生与继承-多重派生

1.理解下面的程序,并在VC++6.0下运行查看结果,回答程序后面的问题。 class CBase1 { public: CBase1(int a):a(a) { cout<<"base1 structure..."<<endl; } ~CBase1() { cout<<"base1 destructure..."<<endl; } void print() { cout<<"a="<<a<<en
相关文章
相关标签/搜索