Description: Consider such a room management system: Suppose we charge for services on the machine, if each user is willing to pay per unit of time different, you can use pay as a priority, the more higher priority get service first, and if two users have the same priority, the first of the first service. Defined above using the priority queue to implement the system. System allows administrators to operate a menu, the administrator can do the following: increase the user into the queue, each user has the appropriate priority (willing to pay for the class) the user out of the queue (for the user assigned the machine), a queue of users need to reach for the highest priority or the first user.
To Search:
File list (Check if you may need any files):
manager.cpp