- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 派生类指针方法获取基类的函数
<br /> <br />派生类指针方法获取基类的函数,在vc2005下编译,不推荐使用因为不通的编译器内存结构不一样,只是加深对类的viutal table的理解及类的内存结构。<br />// Test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> #include<vector> //有用么 // 头文
2011-02-13 15:00:00
687
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人