From 73f9f3b4b48684e6efe3e9b90cab08641a75bb25 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 13 Jan 2023 16:43:18 +0100 Subject: [PATCH] =?UTF-8?q?commentaires=20sur=20la=20fonction=20cr=C3=A9er?= =?UTF-8?q?=20candidat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/sae.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/sae.c b/source/sae.c index 00e22b6..0beb9a8 100644 --- a/source/sae.c +++ b/source/sae.c @@ -738,7 +738,14 @@ void afficherCandidats(Candidat **candidats, int nbCandidats) } } - +/** + * @brief Permet de créer un candidat + * + * @param tCand Tableau de pointeur sur une structure de candidat + * @param nbCandidats nombre de candidats créés + * + * @return Retourne le nombre de candidats + */ int creerCandidat(Candidat *tCand[], int nbCandidats) { int i=0; @@ -776,6 +783,8 @@ int creerCandidat(Candidat *tCand[], int nbCandidats) } + + /* ================================================ Partie 3