Can anyone suggest any ideas to write functions to manage a heap using an existing array.
Thanks.
Printable View
Can anyone suggest any ideas to write functions to manage a heap using an existing array.
Thanks.
In C++, look up make_heap(), push_heap(), and pop_heap().
I think you can use an ordinary array - I know
you can use std::vector
Hi Philip,
Thanks a lot for the info. I will look it up on Google.
Thanks.