Stacks, queues, to simulate the car park managemen
2016-08-23
0 0 0
no vote
Other
Earn points
Modelling in stack parking, formation simulates the sidewalk outside the parking lot, according to simulate the input data sequence reads from the terminal into management. Each set of data includes three data items: car arrival or departure information, registration number and time of arrival or departure. After operation for each set of input data and output message: If a car arrives, prints the cars in the parking lot or sidewalk parking spot if cars go, you stay within the output of cars in the parking lot and the fees payable (stay on the sidewalk, no charge). Stack order is implemented as a queue to the list structure implementation.
c
数据结构
管理
模拟
停车场
队列
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment