From 1325087b87229c78d229606956115b3db8cdcfbd Mon Sep 17 00:00:00 2001 From: loris OBRY Date: Fri, 13 Jan 2023 23:42:54 +0100 Subject: [PATCH] AfficherDeptIutDonne --- source/sae.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/sae.c b/source/sae.c index affa9d3..fd18950 100644 --- a/source/sae.c +++ b/source/sae.c @@ -30,7 +30,8 @@ void Globale(void) //nbVilles = chargIutDon(tIut, 50, "../donnees/iut.don"); //Appel du menu visiteur - menuVisiteur(tLog, nbLog, tIut, nbIut); + //menuVisiteur(tLog, nbLog, tIut, nbIut); + afficherDeptIutDonne(tIut, nbIut); //TEST menu candidat en attendant la conexion et tout la //nbCand = creerCandidat(tCand, nbCand); @@ -566,7 +567,7 @@ int modifieRespDept(VilleIut *tiut[], int nbVilles, char ville[], char nomDept[] void afficherDeptIutDonne(VilleIut *tiut[], int nbVille) { int res; - char *nom; + char nom[30]; afficheVillesIUT(tiut, nbVille); printf("Veuillez saisir le nom de l'iut que vous voulez afficher.\n");