关于父类指针的问题
摘要:例如MFC内定义了一个CWnd*类型的指针m_pMainWnd,在子类内可以用该指针调用被改些的虚函数,但不可以访问在子类中增加的成员变量。
阅读全文
posted @ 2015-05-10 07:51
posted @ 2015-05-10 07:51
posted @ 2015-05-03 14:48
posted @ 2015-05-02 21:08
posted @ 2015-05-01 02:50
posted @ 2015-05-01 02:49