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