diff --git a/Ouverture.c b/Ouverture.c index 6ab8883..cd2b4c5 100644 --- a/Ouverture.c +++ b/Ouverture.c @@ -16,7 +16,7 @@ int OuvertureMembres(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteA flot = fopen("membres.don", "r"); if (flot == NULL) { - printf("Pb d'ouverture du fichier membres.don\n"); + printf("Problème d'ouverture du fichier membres.don en lecture.\n"); return -1; } fscanf(flot, "%d%d%d%d", &NoCarte, &age, &pointsCarte, &CarteActive); @@ -24,7 +24,7 @@ int OuvertureMembres(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteA { if (i == tmax) { - printf("Tableau plein\n"); + printf("Tableau plein.\n"); fclose(flot); return -1; } @@ -47,7 +47,7 @@ int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tmax) jour = fopen("ActivitesJour.don", "r"); if (jour == NULL) { - printf("Pb d'ouverture du fichier ActivitesJour.don\n"); + printf("Problème d'ouverture du fichier ActivitesJour.don en lecture.\n"); return -1; } fscanf(jour, "%d%d", &Date, &nbActivitesJour); @@ -55,7 +55,7 @@ int OuvertureActivitesJour(int tNbActivitesJour[], int tDate[], int tmax) { if (i == tmax) { - printf("Tableau plein\n"); + printf("Tableau plein.\n"); fclose(jour); return -1; } diff --git a/Sauvegarde.c b/Sauvegarde.c index 123925d..a8767de 100644 --- a/Sauvegarde.c +++ b/Sauvegarde.c @@ -8,12 +8,12 @@ int Sauvegarde(int tNoCarte[], int tage[], int tPointsCarte[], int tCarteActive[ jour = fopen("ActivitesJour.don", "a"); if (flot == NULL) { - printf("Pb d'ouverture du fichier membres.don\n"); + printf("Problème d'ouverture du fichier membres.don en écriture.\n"); return -1; } if (jour == NULL) { - printf("Pb d'ouverture du fichier ActivitesJour.don\n"); + printf("Problème d'ouverture du fichier ActivitesJour.don en écriture.\n"); return -1; } for (i = 0; i < (nbelem - 1); i++)