摘要: C++虚函数表解析(转) ——写的真不错,忍不住转了http://blog.csdn.net/hairetz/article/details/4137000浅谈C++多态性http://blog.csdn.net/hackbuteer1/article/details/7475622C++抽象类ht... 阅读全文
posted @ 2014-11-26 01:05 juandx 阅读(947) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;class A{public: A() { puts("this is A!"); }};class B : A{public: B() { puts("this i... 阅读全文
posted @ 2014-11-26 01:04 juandx 阅读(253) 评论(0) 推荐(0) 编辑