Ive got a question. So basically ive got a program that asks you which file to open, and once u type in one, it dumps the contents on the screen. The contents im dealing with is a list of numbers.
So my question is, how can i get it to sort the numbers in ascending or descending order?
Ive thought about bubble sorting it, and using qsort, but as far as i can tell, both require the program to actually know the list of numbers, as opposed to looking one up in a file.
So what do i do?! Please i really need ur help, and would greatly appreciate it.