From 5ede35386176123e619b9d38573e796498f19bad Mon Sep 17 00:00:00 2001 From: loris OBRY Date: Fri, 13 Jan 2023 14:20:32 +0100 Subject: [PATCH] lchoix, mise en commentaire de afficherCandidat et afficherCandidats --- header/sae.h | 2 +- source/sae.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/header/sae.h b/header/sae.h index a11c0c7..071c527 100644 --- a/header/sae.h +++ b/header/sae.h @@ -43,7 +43,7 @@ typedef struct char prenom[50]; float notes[4]; int nbChoix; - Choix *choix; + lChoix lchoix; }Candidat; //Proposition de structure de candidature pour la Partie 3 ( jean ) : diff --git a/source/sae.c b/source/sae.c index 864db86..81afdeb 100644 --- a/source/sae.c +++ b/source/sae.c @@ -698,7 +698,7 @@ void menuAdmin(VilleIut **villeIut, int nbVilles) * @brief Affiche les informations d'un candidat * @param candidat Le candidat à afficher */ -void afficherCandidat(Candidat candidat) +/* void afficherCandidat(Candidat candidat) { printf("Numéro du candidat : %d\n", candidat.numero); printf("Nom : %s\n", candidat.nom); @@ -713,7 +713,7 @@ void afficherCandidat(Candidat candidat) printf(" Décision du département : %d\n", candidat.choix[i].decisionDepartement); printf(" Validation : %d\n", candidat.choix[i].validationCandidat); } -} +} */ /** * @brief Affiche la liste des candidats @@ -721,14 +721,14 @@ void afficherCandidat(Candidat candidat) * @param candidats Le tableau de candidats à afficher * @param nbCandidats Le nombre de candidats dans le tableau */ -void afficherCandidats(Candidat *candidats, int nbCandidats) +/*void afficherCandidats(Candidat *candidats, int nbCandidats) { for (int i = 0; i < nbCandidats; i++) { printf("\nCandidat %d :\n", i + 1); afficherCandidat(candidats[i]); } -} +} */ /* ================================================