|
|
|
@ -30,7 +30,7 @@ candidat** LoadCandid(int* CandidOpen, int* nbcandid)
|
|
|
|
|
//Son nb de choix
|
|
|
|
|
fread(&Tabcandidat[i]->nbchoix,sizeof(int),1,file);
|
|
|
|
|
//Tant que j'ai pas fait tout ces choix :
|
|
|
|
|
for(int y=0;y<Candidat_ajout.nbchoix;++y)
|
|
|
|
|
for(int y=0;y<Tabcandidat[i]->nbchoix;++y)
|
|
|
|
|
{
|
|
|
|
|
//Je lis La ville, le département, la décision du dep, la validation du candidat
|
|
|
|
|
voeu* voeu_ajout=(voeu*)malloc(sizeof(voeu));
|
|
|
|
|