24小时热门版块排行榜    

查看: 1600  |  回复: 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的回帖

q515949148

铜虫 (小有名气)

jjdg: lz在14分钟后已翻译,请你继续 2014-05-24 01:26:38

zhaowei8686

新虫 (小有名气)

libralibra

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
zhaowei8686(jjdg代发): 金币+5, 辛苦了 2014-05-24 01:25:55
zhaowei8686: 金币+25, ★★★★★最佳答案 2014-05-24 08:21:27

cooooldog

铁杆木虫 (著名写手)

ส็็็

zhaowei8686

新虫 (小有名气)

fontomas

新虫 (初入文坛)

相关版块跳转 我要订阅楼主 zhaowei8686 的主题更新
信息提示
请填处理意见