2019年5月21日

面向对象程序设计(C++)_实验4_类的继承、派生和多态(1)

摘要: 一、实验结论 1.车辆信息管理 源代码: battery.h: #ifndef BATTERY_H #define BATTERY_H class Battery { public: Battery(int sz = 70) :batterySize(sz) {} int getSize() con 阅读全文

posted @ 2019-05-21 17:27 Alexander_Yang 阅读(404) 评论(0) 推荐(0) 编辑

导航