摘要: #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) { ... 阅读全文
posted @ 2012-03-21 14:45 likebeta 阅读(241) 评论(0) 推荐(0) 编辑