![]() |
|
#1
|
|||
|
|||
Selection Sortwhy the output only produce the read data ...and after the selection sort only third items display?
1 20 2 30 3 25 After Descending Order 3 25 Press any key to continue CPP / C++ / C Code:
|
|
#2
|
|||
|
|||
Re: Selection SortCPP / C++ / C Code:
When do you call SelectionSort? Likewise, where do you store all of the numbers to sort them? All you store is only the last line read, so you can't sort the data. |
|
#3
|
|||
|
|||
Re: Selection SortYou didn't call SelectionSort after reading from file.
__________________
Linux is the best OS in the world. |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merge sort on a linked list | Temujin_12 | CPP / C++ Forum | 1 | 06-Mar-2008 20:33 |
| Please Help Me To Build My Calendar!!! | suriacute85 | Java Forum | 0 | 05-Oct-2006 19:39 |
| linked lists selection and insertion sort | iceman2006 | CPP / C++ Forum | 1 | 27-Jun-2006 07:29 |
| Selection Sorting--Help Urgently Needed | TetrahedreX | C Programming Language | 2 | 03-May-2005 10:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The