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)
10 freelancers are bidding on average $34 for this job
Hi I am software engineer and have done many java and c++ projects. You can share more details with me so that we can negotiate the price accordingly. Thank you
Hi.I am really interested in your project. Especially I have a talent in C#. 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.
Dear sir. I am a c/c++ programming expert. I've got many experience in algorithm. I've carefully read your description and I am sure I can help you perfectly. Hope to meet and have a talk. Thank you.