alphaone
Messages postés
134
Date d'inscription
vendredi 2 mai 2003
Statut
Membre
Dernière intervention
14 novembre 2009
20 févr. 2006 à 09:13
Voila:
strcpy(nom_sortie,argv[3]);
strcat(nom_sortie,".diff");
fichier_sortie = fopen(nom_sortie, "rb+");
fseek(fichier, 0, 0);
Le prob c'est que cette function ne marche que si le fichier exite déja, comment faire pour le créer si il n'exite pas?