From 37b4272962172410c8104b1b76857a05f99b0b45 Mon Sep 17 00:00:00 2001 From: "matheo.thierry" Date: Sat, 17 Dec 2022 10:17:40 +0100 Subject: [PATCH] MODIF P2 reflexion pour l'erreur v2 --- sae1-02.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sae1-02.c b/sae1-02.c index e4e8fb0..d7f9bed 100644 --- a/sae1-02.c +++ b/sae1-02.c @@ -87,15 +87,16 @@ Listchoixdept inserercarte(Listchoixdept c, FILE *fe){ return cc; } -Listchoixdept lireChoix(FILE *fe, int nbchoix){ +Maillonchoix lireChoix(FILE *fe, int nbchoix){ int i=0; int decision, validation; char Ville[21], dep[21]; - Listchoixdept c, temp; + Maillonchoix c, temp; c = listchoixdeptvide(); for(i=0; i");fclose(fe);return-1;} printf("bonjour"); - a = lireEtu(fe); + //a = lireEtu(fe); tetu[i] = (listetuinfo*)malloc(sizeof(listetuinfo)); if(tetu[i]==NULL){printf("\n");fclose(fe);return-1;} *tetu[i] = a;