Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide data in a file using VC++
Message
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
C++ Managed Code
Titre:
Hide data in a file using VC++
Divers
Thread ID:
00842936
Message ID:
00842936
Vues:
51
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
Répondre
Fil
Voir

Click here to load this message in the networking platform