摘要: 继承关键字: struct和class 继承的区别: #include <iostream> using namespace std; class A{ public: int a; protected: int b; private: int c; }; class B:A{ //默认privat 阅读全文
posted @ 2020-11-19 14:50 liuw_flexi 阅读(91) 评论(0) 推荐(0) 编辑