|
|
@ -61,12 +61,12 @@ void identificationCandidat(int* id, ListeCandidats* listePointer, int* nbCandid
|
|
|
|
printf("Moyenne en spécialité : ");
|
|
|
|
printf("Moyenne en spécialité : ");
|
|
|
|
scanf("%f", &candidat->moyenneSpecialite);
|
|
|
|
scanf("%f", &candidat->moyenneSpecialite);
|
|
|
|
|
|
|
|
|
|
|
|
ajouterCandidat(*listePointer, nbCandidats, candidat); // realloc
|
|
|
|
ajouterCandidat(listePointer, nbCandidats, candidat); // realloc
|
|
|
|
*id = *nbCandidats;
|
|
|
|
*id = candidat->id;
|
|
|
|
|
|
|
|
|
|
|
|
printf("\n\n\e[1mParfait ! Votre ID est \e[1;32m%d\e[0m\e[1m, ne le perdez pas, "
|
|
|
|
printf("\n\n\e[1mParfait ! Votre ID est \e[1;32m%d\e[0m\e[1m, ne le perdez pas, "
|
|
|
|
"il vous suivera tout le long de vos candidatures !\n\e[1;91m"
|
|
|
|
"il vous suivera tout le long de vos candidatures !\n\e[1;91m"
|
|
|
|
"N'oubliez pas de revenir au menu principal pour vous déconnecter à la fin de votre session !\n\n\e[0m", *id);
|
|
|
|
"N'oubliez pas de revenir au menu principal pour vous déconnecter à la fin de votre session !\n\n\e[0m", candidat->id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -487,6 +487,10 @@ void menuPrincipal(/* TODO: prise en compte des status actuels du recrutement */
|
|
|
|
choix=0;
|
|
|
|
choix=0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
printf("\nSauvegarde des IUT...\n");
|
|
|
|
|
|
|
|
saveVilles(tiut, nbVilles);
|
|
|
|
|
|
|
|
printf("Sauvegarde des Candidats...\n");
|
|
|
|
|
|
|
|
saveCandidats(liste, nbCandidats);
|
|
|
|
printf("\nFermeture de l'application...\n");
|
|
|
|
printf("\nFermeture de l'application...\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|