TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: DAVID NOON
from: MARK HOOVER
date: 1998-03-28 20:11:00
subject: Qsort-Ing A Struct

"Bother," said Pooh to David Noon about Qsort-Ing A Struct.
DN>I think teachers should teach insertion sort first, as it is simpler
DN>to code than bubble sort, as well as being faster. [I posted some
DN>sample code in this echo a couple of days ago.]
Hmmm....I learned Bubble first I believe, then Insertion, and finally 
Quick I think.....although, it was a Basic class not a C class.  But, I 
knew more than the teacher anyway.....easy "A" if nothing else....
DN>likely use insertion sort instead of bubble sort. It isn't ideal, but
DN>it would be a discernable improvement over bubble sorting ad nauseum.
I don't do many sorts these days.....have no idea why.....
DN>Still, the inmates of the C_PlusPlus echo are getting actual source
DN>code for the better sort algorithms, most of it written by me. Some
DN>of it even works!
Only some of it?
þ CMPQwk 1.42 1960 þ Mirage Net Oxymoron: enough hard drive space
--- MirageNet HQ!
---------------
* Origin: InnerSpace Mail Systems, Inc. (1:275/104)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.