I
id10t error
I am making a program that will take a while to run. What the program
does is read a text file line update some information and then read
the next line. The problem is this program will run at the end of the
night and the user may shut off their computer before this is
finished. How can I read the first record in the file and then delete
the record I just read after I updated some information. I will want
to do this for every record in the file. I want to make sure if the
user shuts off the computer I can start the program on the next file.
Thank you for any help.
does is read a text file line update some information and then read
the next line. The problem is this program will run at the end of the
night and the user may shut off their computer before this is
finished. How can I read the first record in the file and then delete
the record I just read after I updated some information. I will want
to do this for every record in the file. I want to make sure if the
user shuts off the computer I can start the program on the next file.
Thank you for any help.