|
|
@ -274,7 +274,8 @@ Filecand ChargementfileC(Filecand fC, int *nbC)//chargement du fichier dans cett
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int chargement (Candidat tCandAcc[], int tmax, FILEfe){// chargement des files cand et chx
|
|
|
|
int chargement (Candidat tCandAcc[], int tmax, FILEfe){// chargement des files cand et chx
|
|
|
|
|
|
|
|
int i;
|
|
|
|
|
|
|
|
Choix chx;
|
|
|
|
|
|
|
|
|
|
|
|
fscanf( fe, "%d", nbCand );
|
|
|
|
fscanf( fe, "%d", nbCand );
|
|
|
|
|
|
|
|
|
|
|
@ -292,7 +293,11 @@ int chargement (Candidat tCandAcc[], int tmax, FILEfe){// chargement des files c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*tCandAcc[i] = c;
|
|
|
|
*tCandAcc[i] = c;
|
|
|
|
fscanf( fe, "%d", &nbC);
|
|
|
|
fscanf( fe, "%d", &nbC);
|
|
|
|
tCandAcc[i]->lchx = Chargementlistecandidat ( fe, tCandAcc[i]->lchx, nbC);
|
|
|
|
for ( i=0 ; i<nbc ; i ++){
|
|
|
|
|
|
|
|
chx = lireC( fe );
|
|
|
|
|
|
|
|
tCandAcc[i]->lchx = enf( tCandAcc[i]->lchx, chx );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
i++;
|
|
|
|
i++;
|
|
|
|
c = lireCa (fe);
|
|
|
|
c = lireCa (fe);
|
|
|
|
}
|
|
|
|
}
|
|
|
|