I will be writing data to text file continuously ( assume 4-5days)
eg: file name johny123.txt
and data will be keep on appending to the text file.
on 2nd day I want to delete ( clear ) the contents of 1st day.
using C code I am clear when to clear the file, but i am not clear how to clear the contents of text file partially.
so that memory of text file will be reduced.
Thanks in advance
> and with out deleting the file.
What's this supposed to mean?
Or more to the point, what's a "clean" text file with anything other than zero bytes in it supposed to look like?