josh_03 0 Report post Posted May 9, 2005 bagaimana cara-cara nak buat sorting pada char...boleh tunjukkan cara bagaimana untuk buat chr disusun mengikut urutan menaik..(ascending la katakan);harap korang bole tolong sya ya>>>.. Quote Share this post Link to post Share on other sites
encik pot pet 0 Report post Posted May 10, 2005 banyak algo utk sorting dicipta oleh programmer2... paling simple aku rasa http://wikisource.org/wiki/Bubble_sortselebihnya http://linux.wku.edu/~lamonml/algor/sort/ guna google boleh jumpa banyak lagiand jgn hanya copy paste jer... study Quote Share this post Link to post Share on other sites
da^hype 0 Report post Posted August 22, 2005 like what zeph said. Note that bubble sort is also probablly one of the slowest sorting algorithms. (when sorting huge data). but yes bubble sort is the most basic. here;s antoher web that might help u.http://mathbits.com/MathBits/CompSci/Arrays/Sorting.htmgood luck. Quote Share this post Link to post Share on other sites
pengguna_komputer 0 Report post Posted August 29, 2005 Untuk buble sort...Knape sesetengat tu ada flag, dan ada jugak yang tak der flag..Tak faham fungsi flag ni. Quote Share this post Link to post Share on other sites