基类中的this指针,指示其派生类吗?
摘要:#include using namespace std;class baseA{public: int i; baseA(); //~baseA(); virtual void show() { cout show();};baseB::baseB(){ i=2;...
阅读全文
posted @ 2009-08-31 11:07
posted @ 2009-08-31 11:07
posted @ 2009-08-26 10:48