虛析構和純虛函數

1. 虛析構ios #include <iostream> using namespace std; using namespace std; class CFather { public: virtual void fun() { cout << "fun()" << endl; } virtual void show() { cout << "CFather " <
相關文章
相關標籤/搜索