Little help overwriting a line of a file
#5

i know fseek is the solution,
I have never used it so im not real sure,


the other option is to read all 6 shops into an array
edit the time on the current shop array item,
then save them all back into the file in correct order.

If i get some time after work ill try fseek as im sure its better than the array method.



regards,
Reply


Messages In This Thread
Little help overwriting a line of a file - by Mishima - 29.05.2012, 19:21
Re: Little help overwriting a line of a file - by Jonny5 - 29.05.2012, 20:05
Re: Little help overwriting a line of a file - by Mishima - 29.05.2012, 20:31
Re: Little help overwriting a line of a file - by Mishima - 30.05.2012, 11:36
Re: Little help overwriting a line of a file - by Jonny5 - 30.05.2012, 11:45
Re: Little help overwriting a line of a file - by Mishima - 31.05.2012, 14:00
Re: Little help overwriting a line of a file - by MadeMan - 31.05.2012, 16:15
Re: Little help overwriting a line of a file - by Mishima - 31.05.2012, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)