Hi folks .
For the second part of my assignment at university, I need to start storing values in a file.
Basically, I'm not too keen on posting my code as the assignment is still active, and I'm sure other people will end up finding this place when looking for assistance with their code. I've still got the best part of a month to get this finished, so expect a flurry in 3-4 weeks time .
I need to store the contents of a multidimensional array in the file, and a couple of other variables. I'm just wondering whether anyone can give me any pointers as to where I should start? I've had a look through a couple of books and the file examples on this site, but they seem to be geared toward just reading files, rather than reading individual values from the file.
My file needs to contain the following:-
A list of distances, to be read and stored in a multidimensional array - possibly edited and then saved back out to the file.
A cost per mile value, possibly edited and then possibly saved out to the file again.
I don't want any routines from people on here, all I'd like are a few hints as to the best way to store the data in the file, and a hint as to how I could read the data into the values within my code .
Sorry, I guess my post is fairly babbling. I'll return to my little rock now .
Thanks in advance!