Answer to Question #2142 in C++ for CSWalls
// Method: Swaps the last item in the heap with the root
// and trickles it down to its proper position.
rootItem = items;
items = items[--size];
} // end heapDelete
So when I call "heapDelete(HeapItemType& rootItem)" function in the driver file..
I don't know what to pass as argument.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!