c++ 继承多个类 及虚函数
摘要:
#include using namespace std;class BaseA {public: virtual void say() { cout << "hello world" << endl; }};class BaseB {public: virtual void eat() { cou... 阅读全文
posted @ 2015-06-18 21:14 雨渐渐 阅读(8544) 评论(0) 推荐(1) 编辑