摘要:
#include <iostream>using namespace std;class Child;class Father{public: void DelChild(Child *p);};class Child{public: void fun() { m_p->DelChild(this); char *ch=this->getName(); cout<<ch<<endl; }; char* getName(){return "111222";}; Child(Father *p) { ... 阅读全文