Hi everybody,
I would like to have a file in VC++ with the following conditions: After some data has been written in the file, an EOF indicator is placed in the file and I can write more data after that EOF. The idea is to hide those data (after EOF) from other people.
I used the following codes:
fprintf(myFile, “%s”, “My visible string”);
fputc(EOF, myFile);
fprintf(myFile, “%s”, “My hidden string”);
However, when I opened myFile in Notepad, I could read the whole content.
Does anybody have any idea?
Thank you very much,
Ali