diff --git a/header/sae.h b/header/sae.h index 2f86fe7..9cfa8ff 100644 --- a/header/sae.h +++ b/header/sae.h @@ -61,6 +61,13 @@ typedef struct }Candidat; //Proposition de structure de candidature pour la Partie 3 ( jean ) : +typedef struct pileCandidats +{ + Candidat *candidat; + struct pileCandidats *suivant; +}PileCandidats; + + typedef struct { int nbAdmis; @@ -69,11 +76,6 @@ typedef struct PileCandidats *attente; }Candidature; -typedef struct PileCandidats -{ - Candidat *candidat; - struct PileCandidats *suivant; -}PileCandidats; /* ------------------------------------------------------------------------ @@ -82,6 +84,7 @@ typedef struct PileCandidats */ // sae.c void Globale(void); +//void menuVisiteur(VilleIut *villeIut, int nbVilles); void menuVisiteur(void); int afficherMenuVisiteur(void); int choixMenuVisiteur(void); diff --git a/source/main.c b/source/main.c index 8e790d3..839760e 100644 --- a/source/main.c +++ b/source/main.c @@ -3,8 +3,14 @@ int main(void) { + #ifdef _WIN32 + color + #endif + Globale(); + //system("color 01"); + /* ListeDept ldept; VilleIut iut; diff --git a/source/sae.c b/source/sae.c index e3b7aa3..e751832 100644 --- a/source/sae.c +++ b/source/sae.c @@ -38,7 +38,7 @@ void menuVisiteur(void) { case 1: //afficheVillesIUT(villeIut, nbVilles); - printf("Affiche les villes qui ont des IUT. (En attente de la fonction de chargement)"); + printf("Affiche les villes qui ont des IUT. (En attente de la fonction de chargement)\n"); break; case 2: printf("Affiche le nombre de place dans un departement (En attente de Guillaume)\n");