派生类

C++允许在旧类的基础上建立新类,即派生类

创建方法:

class b_stack:public stack{}

b_stack为基类stack的派生类

待补充。。

原文地址:https://www.cnblogs.com/qiwu1314/p/8868115.html