- 博客(2)
- 资源 (13)
- 收藏
- 关注
原创 c++虚函数表详解(二)
#include #include using namespace std; class Human { public: virtual void Print() { cout << _T("Human::Print") << endl; } virtual void Walk() { cout << _T("Human::Walk") << endl; } };
2011-10-30 20:24:39 613
原创 c++虚函数表详解(一)
问题1: 一个类对应一个虚函数表还是一个对象对应一个虚函数表? #include #include using namespace std; class Human { public: virtual void Print() { cout << _T("Human::Print") << endl; } }; int _tmain(int argc, TCHAR argv[]
2011-10-30 20:02:36 863
FileTool.exe
2013-08-07
子类的四种访问权限
2012-04-16
strlen wcslen _tcslen 用法解析
2012-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人