petit probleme d'ecriture dans un fichier [c/c++] - C++ - Programmation
Marsh Posté le 29-05-2005 à 20:48:07
man fopen 
 
       r+     Open for reading and writing.  The stream is positioned  at  the 
              beginning of the file. 
 
       a      Open for appending (writing at end of file).  The file  is  cre- 
              ated  if it does not exist.  The stream is positioned at the end 
              of the file. 
 
Marsh Posté le 29-05-2005 à 20:21:43
bonjour,
Comment reécrire des données dans un fichier texte a la suite des données deja presente ?
voici mon code mais ca marche pas :(je suis sous borland c++ builder 6.0 avec XP)
int flag=0;
voila a chaque clic sur le bouton je rajoute "allo", mais les données ecrase les anciennes .
une idée les pro du C/C++
merci d'avance