文件名称:parkinglot2
介绍说明--下载内容均来自于网络,请自行研究使用
每个教数据结构的老师都至少会要求学生利用学过的结构编写出一些现实模型.学栈和队列的时候,老师要求我们写出利用栈和队列来模拟停车场管理的一个程序.通过停在停车场的时间长短来计算费用,其中队列的可以看作是便道,车满时便停靠在便道上,此时不收取费用.具体要求和实现请看程序.-each data structure of the teachers have at least would require students to use the structure to learn to prepare some reality model. Stack and Queue school when the teacher asked us to write using stack and cohort simulation of a car park management procedures. Through parked in the parking lot the length of time to calculate costs, which Queue the pavement can be seen as vehicles for when they parked on the sidewalk, this time free of charge. the specific requirements and procedures to achieve See.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
parkinglot2.cpp