Yann CHAMPEAU 3 years ago
parent 3d1e3f6520
commit 83d4719606

Binary file not shown.

@ -174,11 +174,12 @@ void Candidater(VilleIUT* tiut[],int tlogi, candidat* tcandidat[], int numcandid
char DepRech[31];
printf("Veuillez entrez le département dans lequel vous souhaitez y postuler :");
scanf("%s",DepRech);
printf("Check !\n");
if (existeDep(tiut[ind]->ldept, DepRech)==0) return;
else
{
int i;
for (i=0;tcandidat[i]->numcandid!=numcandid;++i);
for (i=0;tcandidat[i]->numcandid!=numcandid && i<tlogi;++i);
voeu* voeu_ajout = (voeu*) malloc (sizeof(voeu));
strcpy(voeu_ajout->ville,VilleRech);
strcpy(voeu_ajout->dep,DepRech);

Loading…
Cancel
Save