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;