摘要: 继承与派生 吸收基类成员 改造基类成员 新增派生类成员 class 派生类名:继承方式 基类名 { 成员声明; } class Derived: public Base { public: Derived (); ~Derived (); }; 继承方式 公有继承 基类的public和protect 阅读全文
posted @ 2020-07-25 22:33 happy_fan 阅读(161) 评论(0) 推荐(0) 编辑