- MAX5058-MAX5059IC 可并联的副边同步整流驱动器和反馈发生器控制
- jiefc 解线性方程组(多元一次)
- AHPcengcifenxifa 层次分析法建模
- Vp_Marine_1.2 利用vp进行海洋建模(此模型包括海浪和小船
- askindemo Guidelines from C Guidelines from C Guidelines from C Guidelines from C Guidelines from C Guidelines from C Guidelines from C Guidelines from C Guidelines from C
- program2 VC6 关于benchmarks的优化问题程序2
文件名称:Vehicles
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个关于Vehicle的小程序,带源码,测试可以执行。主要是一个类的继承的练习。-Vehicles
Create a base class called Vehicle that has
• the manufacturer’s name (type string),
• number of cylinders in the engine (type int), and
• owner (type Person, given below).
Define a virtual function Print() to print all the informations of the Vehicle.
Then create a class called Truck that is derive from Vehicle and has additional properties:
the load capacity in tons (type double). Define a Car class that is also derived from the
Vehicle class and has additional properties: bodystyle (type string, e.g. family car, super
car, and concept car).
Create a base class called Vehicle that has
• the manufacturer’s name (type string),
• number of cylinders in the engine (type int), and
• owner (type Person, given below).
Define a virtual function Print() to print all the informations of the Vehicle.
Then create a class called Truck that is derive from Vehicle and has additional properties:
the load capacity in tons (type double). Define a Car class that is also derived from the
Vehicle class and has additional properties: bodystyle (type string, e.g. family car, super
car, and concept car).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Vehicles/Car.cpp
Vehicles/Car.h
Vehicles/Person.cpp
Vehicles/Person.h
Vehicles/Truck.cpp
Vehicles/Truck.h
Vehicles/Vehicle.h
Vehicles/VehicleDriver.cpp
Vehicles/Vehicles.cpp
Vehicles/Vehicles.suo
Vehicles
Vehicles/Car.h
Vehicles/Person.cpp
Vehicles/Person.h
Vehicles/Truck.cpp
Vehicles/Truck.h
Vehicles/Vehicle.h
Vehicles/VehicleDriver.cpp
Vehicles/Vehicles.cpp
Vehicles/Vehicles.suo
Vehicles
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
