Computer Science Canada input at eof |
Author: | Jas [ Thu May 05, 2005 5:26 pm ] | ||
Post subject: | input at eof | ||
I am doing this program where i have to add new information to a datafile everytime i run it. And if i run the program the second time, and i try to input something into it, the data that was already in it, gets overwritten. How would you make a program so it takes you to the end of the data file, where you can start inputting the new information? I tried doing:
but it didn't work. Plz help! |
Author: | Paul [ Thu May 05, 2005 6:42 pm ] | ||
Post subject: | |||
Just use seek, its pretty easy just to go to turing reference and read up on the open function, but hey, I learned something too, lazy me.
thats pretty much straight out of the reference. |
Author: | Token [ Thu May 05, 2005 7:38 pm ] | ||
Post subject: | |||
This is what i do since i cant get mod to work for me...
|