资源预览内容
第1页 / 共8页
第2页 / 共8页
第3页 / 共8页
第4页 / 共8页
第5页 / 共8页
第6页 / 共8页
第7页 / 共8页
第8页 / 共8页
亲,该文档总共8页全部预览完了,如果喜欢就下载吧!
资源描述
1 停车场管理 2 程序文件 源文件 cpp文件 main cpp头文件 h文件 lk stack hlk list hnode hutility hvehiclestop h 3 文件视图 4 main cpp文件 intmain void intmaxnum rate charch cout maxnum rate StoppingPlacemyStoppingPlace maxnum rate VehicleTypeveArrive veLeave while ch 4 cout ch 5 main cpp文件 switch ch case 1 cout veArrive num veArrive time myStoppingPlace Arrive veArrive break case 2 cout veLeave num veLeave time myStoppingPlace Leave veLeave break case 3 myStoppingPlace DisplayStatus break return0 6 vehiclestop h文件 包含VehicleType结构体说明和StoppingPlace类声明和接口函数 以及重载的Write函数 include lk stack h include lk list h structVehicleType unsignedintnum unsignedinttime voidWrite conststructVehicleType 7 vehiclestop h文件 包含VehicleType结构体说明和StoppingPlace类声明和接口函数 以及重载的Write函数 classStoppingPlace private LinkStack pStopPath LinkList pShortcutPath intmaxNumOfStopVehicle intrate boolExistVehicleInStopPath constVehicleType 8 StoppingPlace类的构造函数 StoppingPlace StoppingPlace intn intr maxNumOfStopVehicle n rate r pStopPath newLinkStack pShortcutPath newLinkList
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号