Introduction - If you have any usage issues, please Google them yourself
Parking lot to stack simulation to simulate the queue of cars outside the sidewalk, according to the terminal read from the input data sequence to simulate management. Each set of input data consists of three data items: auto " to" or " leave" information, vehicle license number and arrival or departure time, for each group of input data to operate after the output data is: If the vehicle arrives , the output in a car park or car parking on the sidewalk location if the car away the output of cars in the parking lot of the duration and should pay the costs (time spent on the sidewalk of charge). Structure in order to achieve stack, queue linked list.