From 7b896df663a6ecc4ec1fd538f929b51538a69116 Mon Sep 17 00:00:00 2001 From: DahmaneYanis Date: Fri, 13 Jan 2023 14:08:27 +0100 Subject: [PATCH 1/2] Programme a nouveau fonctionnel --- source/sae.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sae.c b/source/sae.c index 5bfc45c..3e284cd 100644 --- a/source/sae.c +++ b/source/sae.c @@ -596,7 +596,7 @@ void afficheNbPlacesDep(VilleIut *tVilleIut[], int nbVilles, char nomDept[]) } } -int existeVille( VilleIut * tIut[], char ville[], int nbvilles ) +/*int existeVille( VilleIut * tIut[], char ville[], int nbvilles ) { int i = 0; @@ -606,7 +606,7 @@ int existeVille( VilleIut * tIut[], char ville[], int nbvilles ) if ( strcmp( tIut[i] -> nom, ville ) == 0 ) return i; // ville trouvée... } return -1; -} +}*/ /** * Affiche et gère le menu administrateur. From 3e7de95633297520dc4337a2f581a0aa43ae6e9f Mon Sep 17 00:00:00 2001 From: DahmaneYanis Date: Fri, 13 Jan 2023 14:10:10 +0100 Subject: [PATCH 2/2] Programme fonctionnel --- source/sae.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sae.c b/source/sae.c index 6839fd2..0f19cf2 100644 --- a/source/sae.c +++ b/source/sae.c @@ -506,7 +506,7 @@ int modifieRespDept(VilleIut *tVilleIut[], int nbVilles, char ville[], char nomD return 0; } -void afficherDeptIutDonne(VilleIut **villeIut, int nbVille) +/*void afficherDeptIutDonne(VilleIut **villeIut, int nbVille) { int res; char *nom; @@ -521,7 +521,7 @@ void afficherDeptIutDonne(VilleIut **villeIut, int nbVille) return ; } afficherListe(villeiut[res]->lDept); -} +}*/ /** * @brief Affiche les IUT possédant un département spécifique.