C++ examples for STL:priority_queue
Click the following links for the tutorial for STL and priority_queue.