cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
queue
queue
Dec 23, 2011 at 4:31am UTC
yali579
(1)
how to make a queue program that has a property that it takes prority and when performing dequee it prefer to the prority and then fifo operation if needed...
plz help me
Dec 23, 2011 at 4:47am UTC
shacktar
(1187)
STL provides a priority_queue class in the <queue> header.
http://www.cplusplus.com/reference/stl/priority_queue/
Dec 24, 2011 at 6:58am UTC
IceThatJaw
(529)
You can always make a class that contains an STL container and add particular methods to manipulate it differently.
Topic archived. No new replies allowed.