Description: Design a banking simulation system, simulation runs and calculate the bank s business customers a day, the average stay in the bank
Time. N windows of foreign banks have received the customer, banks are open from morning onwards, there have been customers into the bank. Since each
Window at a time, only to receive a customer, so the number of customers for a long time need to line up in the window for entering the bank
Customers, if a window salesman is free, you can handle on any free business before the window the other hand, if the N
Window have the customer take up, he would row the smallest team in the back.
1) The user interactive way through the setup process required parameters: the bank opening hours, closing time open window
Port number.
2) the customer s arrival time through human-computer interaction, or randomly generated file into a way to enter.
3) save the banking business of the work record: Store customer arrival time, departure time.
4) shows that
To Search:
File list (Check if you may need any files):
Fpank\Debug\Fpank.exe
.....\.....\Fpank.ilk
.....\.....\Fpank.pch
.....\.....\Fpank.pdb
.....\.....\main.obj
.....\.....\pank.obj
.....\.....\peoble.obj
.....\.....\queue.obj
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\Fpank.dsp
.....\Fpank.dsw
.....\Fpank.ncb
.....\Fpank.opt
.....\Fpank.plg
.....\main.cpp
.....\pank.cpp
.....\pank.h
.....\peoble.cpp
.....\peoble.h
.....\queue.cpp
.....\queue.h
.....\Debug
Fpank