Heap added to CPlusPlus