CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Location
    NY
    Posts
    12

    Managing a heap using an array.

    Can anyone suggest any ideas to write functions to manage a heap using an existing array.
    Thanks.
    RS

  2. #2
    Join Date
    Aug 2000
    Location
    West Virginia
    Posts
    7,725
    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

  3. #3
    Join Date
    Mar 2003
    Location
    NY
    Posts
    12

    Thanks

    Hi Philip,
    Thanks a lot for the info. I will look it up on Google.
    Thanks.
    RS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured