Develop an application that, using pthreads ,ncurse and dynamic data structures, allows the simulation of the behavior of an elevator.
The elevator will be installed in a "n"-floor building. In the building, there will be a determined number of people, randomly distributed on the different floors. Each person will have a "work" time on the floor, after which they will go to the elevator to change floors. Once you arrive at the new floor, you will start "working" again.
On each floor, the elevator control has two buttons to call it up or down. When the elevator arrives at a floor, it will pick up the people who are going in the direction in which the elevator is moving.
The elevator control system should give priority to the users who are on its way.
The elevator has a maximum capacity of "n" people.
The user must able to type before the simulation the number of floors, the number of people in the building and the maximum capacity of the elevator, and then the simulation should work with this.
(Tip: use constants defined in the header with # define)
이 프로젝트의 입찰 현황은 다음과 같습니다. 입찰자: 19명, 평균 입찰가: $158
Hi.I am really interested in your project. Especially I have a talent in C, C++ and C# in Linux. Now I am ready to work for you. Please contact me for any further discuss. Thanks.