摘要:
#include <iostream.h>class A { public: virtual void print(void) { cout<<"A::print()"<<endl; } };class B:public A { public: virtual void print(void) { cout<<"B::print()"<<endl; }; }; class C:public B{public: virtual void print(void) { cout<<&quo 阅读全文