cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Need urgent help, any help would be appr
Need urgent help, any help would be appreciated. thanks
May 1, 2011 at 4:13am UTC
closed account (
STR9GNh0
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Last edited on
May 1, 2011 at 11:11am UTC
May 1, 2011 at 5:34am UTC
closed account (
STR9GNh0
)
anyone can help me? thanks
May 1, 2011 at 6:49am UTC
m4ster r0shi
(2201)
This could help ->
http://en.wikipedia.org/wiki/Heapsort#Pseudocode
(heapify == makeHeap)
Last edited on
May 1, 2011 at 6:49am UTC
May 1, 2011 at 8:00am UTC
closed account (
STR9GNh0
)
are you trying to tell me that my makeheap is wrong and that is why my heapsort failed to generate the correct data out ?
Last edited on
May 1, 2011 at 8:00am UTC
May 1, 2011 at 8:50am UTC
m4ster r0shi
(2201)
No, I don't know where the problem is. And since neither you seem to know,
I'd suggest that you write your heapsort from scratch based on that pseudocode.
Topic archived. No new replies allowed.