Re: Help needed for a sorting code in the literature

From: Bob Harris (plasticnitlion_at_wrappermindspring.com)
Date: 12/31/04


Date: Thu, 30 Dec 2004 23:41:25 GMT


> Since I only have the book but not the corresponding (original) software, I
> couldn't be sure whether this is due to my coding error in adapting the code
> from the text of the book or whether this is due to an error of the authors of
> the book (though I have carefully checked my coding several times to be sure
> that it corresponds to the code given in the book). If there is some person of
> our group who happens to possess the original software of the book, I should
> appreciate very much to know a confirmation/refutation of my computing result
> above.

The book is available on-line at
    http://www.library.cornell.edu/nr/bookcpdf.html

The heapsort algorithm is in
    http://www.library.cornell.edu/nr/bookcpdf/c8-3.pdf

According to the web page the source code is not available in electronic
form. But maybe someone can eyeball the code to see if it's right.

Bob H