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

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

Loading…
Cancel
Save