24小时热门版块排行榜    

查看: 1615  |  回复: 6
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhaowei8686

新虫 (小有名气)

[求助] 求助一个C++的程序,十万火急 已有1人参与

题目是:
The Car Company

A car company sells different car models. During the purchase order, the customer can choose between different types of engines, body chapes (coupé, sedan, estate), body colors, etc...

Can you create a C++ class architecture that will provide a car object, corresponding to our needs ?

Every car has some typical functions to read mileage, fuel gauge or number of seats, start the engine, turn right, etc... Feel free to implement some you think relevant to exploit the C++ object model.

Example of function calls to implement:
Car* myCar = CarCompany.getCar( paremeters );
fuel_type = myCar.getFuleType();
km = myCar.getMileAge();
(etc...)

本人没有学过C++,求高手帮助
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cooooldog

铁杆木虫 (著名写手)

ส็็็

这么清楚的练习题作业,
ส็็็็็็็็็็็็็็็็็็็็
5楼2014-05-24 07:28:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zhaowei8686 的主题更新
信息提示
请填处理意见