|
|
@ -207,7 +207,7 @@ void CreateCandidat(candidat** tcandid,int* nbcandidat)
|
|
|
|
Candidat_Ajout->name[i]='\0';
|
|
|
|
Candidat_Ajout->name[i]='\0';
|
|
|
|
printf("Merci de rentrez votre prénom :");
|
|
|
|
printf("Merci de rentrez votre prénom :");
|
|
|
|
fgets(Candidat_Ajout->surname, 31, stdin);
|
|
|
|
fgets(Candidat_Ajout->surname, 31, stdin);
|
|
|
|
int i=0;
|
|
|
|
i=0;
|
|
|
|
while(Candidat_Ajout->surname[i+1]!='\0')i++;
|
|
|
|
while(Candidat_Ajout->surname[i+1]!='\0')i++;
|
|
|
|
Candidat_Ajout->surname[i]='\0';
|
|
|
|
Candidat_Ajout->surname[i]='\0';
|
|
|
|
printf("Merci de rentrez votre note en Mathématique :");
|
|
|
|
printf("Merci de rentrez votre note en Mathématique :");
|
|
|
|