Description: The implementation of the code is a simple car park management system. Suppose the parking is parked cars n the narrow channel, and only one door and out of cars. The arrival time of car in the car park by vehicle, followed by narrow (the door first to arrive at the southernmost tip of the first car in the garage, the northernmost), if the car floor is full of parked cars n , later the car can only wait on the sidewalk outside, once the car drove off, came in the first car on the sidewalk to open into when the parking of a vehicle to leave it incoming vehicles must exit the yard to make way for it to be the vehicle out outside the gate, other vehicles into the yard and then the original order, every car parked in the parking lot when it left the parking lot must stay the length of time to pay costs . Test according to the above requirements for the preparation of parking management simulation program.
The basic requirements are:
The stack analog Parking, to queue simulation car off
To Search:
File list (Check if you may need any files):
my parking
..........\Debug
..........\.....\my parking.exe
..........\.....\my parking.ilk
..........\.....\my parking.opt
..........\.....\my parking.pch
..........\.....\my parking.pdb
..........\.....\parking.obj
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\my parking.dsp
..........\my parking.dsw
..........\my parking.ncb
..........\my parking.opt
..........\my parking.plg
..........\parking.cpp
..........\parking.h