inheritance, multiple inheritance, the use of virtual inheritance! If we want to...
- 资源大小:1.26 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
其他项目
资 源 简 介
继承、多继承、虚继承的使用!
如果要想使一个公共基类在派生类中只产生一个基类子对象,则必须将这个基类设定为虚基类。-inheritance, multiple inheritance, the use of virtual inheritance! If we want to make a public base class in the derived class only have a base class Object son, they would have to set the base class for virtual base class.
文 件 列 表
Person.cpp
Person.h