Modifications

master
Kyllian CHABANON 3 years ago
parent a04b3de1af
commit aceeb20da2

BIN
exe

Binary file not shown.

@ -109,7 +109,7 @@ int chargerCandidats(Etudiant *tetud[])
exit(1); exit(1);
} }
fscanf(file, "%d", &nbCandidats); fscanf(file, "%d", &nbCandidats);
while (i < nbCandidats - 1) while (i < nbCandidats)
{ {
tetud[i] = (Etudiant *)malloc(sizeof(Etudiant)); tetud[i] = (Etudiant *)malloc(sizeof(Etudiant));
if (tetud[i] == NULL) if (tetud[i] == NULL)
@ -131,7 +131,7 @@ int chargerCandidats(Etudiant *tetud[])
} }
i++; i++;
} }
return i + 1; return i;
} }
// void sauvegarderCandidats(ListeAdmission la, char dptResAdmi[30]) // void sauvegarderCandidats(ListeAdmission la, char dptResAdmi[30])

@ -8,7 +8,7 @@ Albert
3 3
1 1
Clermont-Ferrand Clermont-Ferrand
Departement2 Informatique
0 0
0 0
2 2
@ -19,11 +19,11 @@ Jacques
15 15
20 20
2 2
Clermont-Ferrand Grenoble
Departement4 Informatique
0 0
0 0
Clermont-Ferrand Clermont-Ferrand
Departement3 Informatique
0 0
0 0

Loading…
Cancel
Save