posts - 23,  comments - 94,  trackbacks - 0
 
#include  using namespace std;class Door{public:    virtual void open() {        cout
文章来源:http://blog.csdn.net/huntrose/archive/2008/11/16/3312184.aspx
posted @ 2009-03-01 10:16 Charlie 侯杰 阅读(231) | 评论 (0)编辑 收藏
C++
文章来源:http://blog.csdn.net/huntrose/archive/2008/11/15/3305351.aspx
posted @ 2009-03-01 10:16 Charlie 侯杰 阅读(227) | 评论 (0)编辑 收藏
初见这个内容是在Effective C++上,在构造函数和析构函数中调用虚函数是非常不好的行为一个简单的例子 class Base{public:    Base()    {        cout
文章来源:http://blog.csdn.net/huntrose/archive/2008/11/06/3230766.aspx
posted @ 2009-03-01 10:16 Charlie 侯杰 阅读(178) | 评论 (0)编辑 收藏
仅列出标题
共3页: 1 2 3 
by Charlie