Link to home
Start Free TrialLog in
Avatar of MissProgrammer
MissProgrammer

asked on

Event simulation using priority queues

Im writing a program which deals with a character going to a wizard cave at a certain time.  In a text file contains the characters' arrival time and request time.  I need to put  the times in a vector then into a priority queue, where the lowest time is the highest priority.  Can I have any help or guidance to start on project.  What type of classes do I need and what do I need to contain in these classes?
Avatar of ozo
ozo
Flag of United States of America image

std::priority_queue
Avatar of MissProgrammer
MissProgrammer

ASKER

What does that suppose to mean??
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial