文件名称:qiche
介绍说明--下载内容均来自于网络,请自行研究使用
有一个汽车类vehicle,它具有一个需传递参数的构造函数,类中的数据成员车轮个数wheels和车重weight放在保护段中;小车类car是它的私有派生类,其中包含载人数passenger-load;卡车类truck是vehicle的私有派生类,其中包含载人数passenger-load和重量payload。每个类都有相关数据的输出方法。-have an auto vehicle, it has a need to transfer parameters Constructors, Class members of the data Number wheels and wheel weights weight on the protection of; Trolley car category is the private derived class, which includes manned several passenger-load; trucks truck category is the private vehicle of your class, manned which includes several passenger-load weight and payload. Each of these categories has a data output method.
相关搜索: 汽车
(系统自动生成,下载前可以参看下载内容)
下载文件列表
qiche.rtf