You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
631 B
17 lines
631 B
#include "SAE.h"
|
|
|
|
void global(void)
|
|
{
|
|
int nbVilles, nbCandidats, nbAdmis = 0, nbAttente = 0;
|
|
bool phaseCandidatures = true, phaseTraitement = false;
|
|
VilleIUT *tiut[100];
|
|
Etudiant *tetud[100], *admis[100], *attente[100];
|
|
nbVilles = chargementVillesIUT(tiut);
|
|
nbCandidats = chargerCandidats(tetud);
|
|
menu(tiut, &nbVilles, tetud, &nbCandidats, &phaseCandidatures, &phaseTraitement, admis, &nbAdmis, attente, &nbAttente);
|
|
sauvegardeVillesIUT(tiut, nbVilles);
|
|
sauvegardeAdmis(admis, nbAdmis);
|
|
sauvegardeAttente(attente, nbAttente);
|
|
sauvegarderCandidats(tetud, nbCandidats, "candidats.txt");
|
|
}
|