Computer Science Canada

Column Sorting

Author:  dehu87 [ Sat May 31, 2008 4:08 pm ]
Post subject:  Column Sorting

How do you make it so that when you read a file the output is set into columns and rows, also sorted so that the names are in alphabetical order? Confused

I have a text file as an example of a file that would be read.

Edit: the first column is the name, second is the colour and third is the age

Author:  syntax_error [ Sat May 31, 2008 4:16 pm ]
Post subject:  RE:Column Sorting

I havnt looked at the files but I guess you read in one word the n after a space you read the next term as something else and so forth? understand?

as for alphabetical order look at ASCII values that should help you.


: