Hi,
Have just started trying to learn how to program using C. Am trying to write a program that reads a text file containing a list of 10 prisoners eg..
doe, john, 00222555
doe, jane, 01254896
I need to be able to use c to go thru these one at a time and then sort them in the order in which they were sent to prison. This is denoted by the first two numbers on their reg number. e.g.
John Doe's year is 2000
Jane Doe's year is 2001
If anyone has any pointers I would be eternally greatful! as at present I am having problems just being able to read a text file!
Sorry to ask what I guess is a very straight forward question but these are sometimes the hardest for me!!!!!!!!!!
Thanks
TOM0987654321![]()



LinkBack URL
About LinkBacks



