master
DahmaneYanis 2 years ago
parent 78ae3d0fb9
commit cd29f097da

@ -10,7 +10,7 @@
*/ */
#ifdef _WIN32 #ifdef _WIN32
#define clean system("clear"); #define clean system("cls");
#define color system("color 70"); #define color system("color 70");
void testColor(void); void testColor(void);
#endif #endif

@ -8,10 +8,7 @@ int main(void)
// #ifdef _WIN32 // #ifdef _WIN32
// color // color
// #endif // #endif
<<<<<<< HEAD
=======
//guillaume(); //guillaume();
>>>>>>> b092b29fcec9a95286488850700787d4cc787a2c
//testCharge(); //testCharge();
Globale(); Globale();
//testJean(); //testJean();

@ -30,11 +30,11 @@ void Globale(void)
//nbVilles = chargIutDon(tIut, 50, "../donnees/iut.don"); //nbVilles = chargIutDon(tIut, 50, "../donnees/iut.don");
//Appel du menu visiteur //Appel du menu visiteur
//menuVisiteur(tLog, nbLog, tIut, nbIut); menuVisiteur(tLog, nbLog, tIut, nbIut);
//TEST menu candidat en attendant la conexion et tout la //TEST menu candidat en attendant la conexion et tout la
nbCand = creerCandidat(tCand, nbCand); //nbCand = creerCandidat(tCand, nbCand);
menuCandidat(tLog, nbLog, tIut, nbIut, tCand[0]); //Sauvegarde dans les fichiers //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: case 1:
afficheVillesIUT(tIut, nbIut); afficheVillesIUT(tIut, nbIut);
printf("\nAppuyez sur entree pour continuer...");
scanf("%*c");
clean
break; break;
case 2: case 2:
printf("Affiche le nombre de place dans un departement (En attente de Guillaume)\n"); printf("Affiche le nombre de place dans un departement (En attente de Guillaume)\n");

Loading…
Cancel
Save