2_3_7 using、virtual、override、final、friend、RTTI、dynamic_cast、typeid、type_info

using #include "hjcommon.hpp" using namespace std; HJ_NS_USING class Parent { public: void say() { cout << "Parent say no arg" << endl; } void eat(int a) { cout << "Parent eat one arg" << endl; }
相關文章
相關標籤/搜索