Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
STL Algorithms Heap 9 codes
Home
C++ Tutorial
STL Algorithms Heap
1 Demonstrating push_heap, pop_heap, make_heap and sort_heap
2 Sort a heap
3 Sort vector1 using make_heap and sort_heap
4 Sort vector1 using push_heap and pop_heap
5 Use make_heap to convert collection into a heap
6 Use pop_heap to pop next element out of the heap
7 Use push_heap to push new element into the heap
8 Use sort_heap to convert heap into a sorted collection(after the call it is no longer a heap)
9 Use std