|
|
@ -3,7 +3,7 @@
|
|
|
|
void menuAdmin(VilleIUT *tiut[], int *tLog, int tMax){
|
|
|
|
void menuAdmin(VilleIUT *tiut[], int *tLog, int tMax){
|
|
|
|
int select=0;
|
|
|
|
int select=0;
|
|
|
|
while(select!=9){
|
|
|
|
while(select!=9){
|
|
|
|
system("clear")
|
|
|
|
system("clear");
|
|
|
|
printf("\t AFFICHAGE ADMIN\n\n");
|
|
|
|
printf("\t AFFICHAGE ADMIN\n\n");
|
|
|
|
printf("1\tModifier le nombre de places dans un département\n");
|
|
|
|
printf("1\tModifier le nombre de places dans un département\n");
|
|
|
|
printf("2\tCréer un nouveau département\n");
|
|
|
|
printf("2\tCréer un nouveau département\n");
|
|
|
@ -11,9 +11,24 @@ void menuAdmin(VilleIUT *tiut[], int *tLog, int tMax){
|
|
|
|
printf("4\tLancer/Arrêter la phase de candidature\n");
|
|
|
|
printf("4\tLancer/Arrêter la phase de candidature\n");
|
|
|
|
printf("5\tModifer le nom du responsable d'un département\n");
|
|
|
|
printf("5\tModifer le nom du responsable d'un département\n");
|
|
|
|
scanf("%d",&select);
|
|
|
|
scanf("%d",&select);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void menuCandidat(VilleIUT *tiut[], int *tLog, int tMax){
|
|
|
|
|
|
|
|
int select=0;
|
|
|
|
|
|
|
|
while(select!=9){
|
|
|
|
|
|
|
|
system("clear");
|
|
|
|
|
|
|
|
printf("\t AFFICHAGE CANDIDAT \n\n");
|
|
|
|
|
|
|
|
printf("1\tRechercher les villes où il y a un IUT\n");
|
|
|
|
|
|
|
|
printf("2\tRechercher chaque département dans les IUT\n");
|
|
|
|
|
|
|
|
printf("3\tNombres de places en 1A\n");
|
|
|
|
|
|
|
|
printf("4\tRechercher un département dans les IUT\n");
|
|
|
|
|
|
|
|
scanf("%d",&select);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clearpage(void)
|
|
|
|
void clearpage(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char entre;
|
|
|
|
char entre;
|
|
|
|