From cd29f097dad98e472f7b3d56b56f26ef86ab298f Mon Sep 17 00:00:00 2001 From: DahmaneYanis Date: Fri, 13 Jan 2023 23:17:41 +0100 Subject: [PATCH] test clean --- header/sae.h | 2 +- source/main.c | 3 --- source/sae.c | 9 ++++++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/header/sae.h b/header/sae.h index 6047fa1..47e52c3 100644 --- a/header/sae.h +++ b/header/sae.h @@ -10,7 +10,7 @@ */ #ifdef _WIN32 -#define clean system("clear"); +#define clean system("cls"); #define color system("color 70"); void testColor(void); #endif diff --git a/source/main.c b/source/main.c index a0a41fd..44200a6 100644 --- a/source/main.c +++ b/source/main.c @@ -8,10 +8,7 @@ int main(void) // #ifdef _WIN32 // color // #endif -<<<<<<< HEAD -======= //guillaume(); ->>>>>>> b092b29fcec9a95286488850700787d4cc787a2c //testCharge(); Globale(); //testJean(); diff --git a/source/sae.c b/source/sae.c index cb5bb5e..affa9d3 100644 --- a/source/sae.c +++ b/source/sae.c @@ -30,11 +30,11 @@ void Globale(void) //nbVilles = chargIutDon(tIut, 50, "../donnees/iut.don"); //Appel du menu visiteur - //menuVisiteur(tLog, nbLog, tIut, nbIut); + menuVisiteur(tLog, nbLog, tIut, nbIut); //TEST menu candidat en attendant la conexion et tout la - nbCand = creerCandidat(tCand, nbCand); - menuCandidat(tLog, nbLog, tIut, nbIut, tCand[0]); //Sauvegarde dans les fichiers + //nbCand = creerCandidat(tCand, nbCand); + //menuCandidat(tLog, nbLog, tIut, nbIut, tCand[0]); //Sauvegarde dans les fichiers } /** @@ -119,6 +119,9 @@ void menuVisiteur(Log * tLog, int nbLog, VilleIut *tIut[], int nbIut) { case 1: afficheVillesIUT(tIut, nbIut); + printf("\nAppuyez sur entree pour continuer..."); + scanf("%*c"); + clean break; case 2: printf("Affiche le nombre de place dans un departement (En attente de Guillaume)\n");