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 freelancers are bidding on average $158 for this job
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.
I read your project . Your project is very interesting. If you work with me, it will be very reasonable. Looking forward hearing from you Best Regards Thank.
Hi, I can make for you this elevator simulation. I am experienced software developer, with great knowledge of Linux and Embedded systems. Can we have a chat?