diff --git a/sae1-02.c b/sae1-02.c index e54c51a..e4e8fb0 100644 --- a/sae1-02.c +++ b/sae1-02.c @@ -103,7 +103,7 @@ listetuinfo lireEtu(FILE *fe){ int i; listetuinfo b; fscanf(fe, "%d %s %s %d %d %d %d %d", &b.numeroetu, b.nometu, b.prenometu, &b.notes[0], &b.notes[1], &b.notes[2], &b.notes[3], &b.nbchoix); - *b.lchoixdept = lireChoix(fe, b.nbchoix); + b.lchoixdept = lireChoix(fe, b.nbchoix); return b; } @@ -152,14 +152,14 @@ void test1(void){ char nomFich[20]; strcpy( nomFich, "candidature.txt"); nb = chargeretudiant(nomFich, tetu, 5000); - /*printf("bonjour1"); + printf("bonjour1"); for(j=0; jnbchoix; i++){ printf("carte %d={", i+1); affichage(*tetu[j]->lchoixdept); } - }*/ + } }