2013年7月31日

摘要: #include using namespace std;class A{public: void foo() { func(); } virtual void func() { coutfoo();}运行结果是"b".我就当做是func()为this->func()了.源头是cocos2dx的CCObject的copy()和copyWithZone(). 阅读全文
posted @ 2013-07-31 17:50 shizuka 阅读(101) 评论(0) 推荐(0)

导航