From ded300f6e240a89945ee716f9da83a7df773859f Mon Sep 17 00:00:00 2001 From: "jade.van_brabandt~" Date: Fri, 13 Jan 2023 23:16:34 +0100 Subject: [PATCH] Fix --- extra/.~lock.Explication_Structure - Copie.odt# | 1 - src/partie2/saeP2.c | 1 + src/partie4/saeP4.c | 5 ----- src/partie4/saeP4.h | 13 ------------- 4 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 extra/.~lock.Explication_Structure - Copie.odt# diff --git a/extra/.~lock.Explication_Structure - Copie.odt# b/extra/.~lock.Explication_Structure - Copie.odt# deleted file mode 100644 index cdfc6ec..0000000 --- a/extra/.~lock.Explication_Structure - Copie.odt# +++ /dev/null @@ -1 +0,0 @@ -,DESKTOP-0B9LH3O/Axel,DESKTOP-0B9LH3O,13.01.2023 22:21,file:///C:/Users/Axel/AppData/Roaming/LibreOffice/4; \ No newline at end of file diff --git a/src/partie2/saeP2.c b/src/partie2/saeP2.c index f3cb31b..4e6ce8a 100644 --- a/src/partie2/saeP2.c +++ b/src/partie2/saeP2.c @@ -237,6 +237,7 @@ void CreateCandidat(candidat** tcandid,int* nbcandidat) } Candidat_Ajout->nbchoix=0; tcandid[*nbcandidat-1]=Candidat_Ajout; + nbcandidat++; printf("Ajout fini\nVotre numéro de candidat est : %d",\ Candidat_Ajout->numcandid); } \ No newline at end of file diff --git a/src/partie4/saeP4.c b/src/partie4/saeP4.c index 5120ddf..6e389ba 100644 --- a/src/partie4/saeP4.c +++ b/src/partie4/saeP4.c @@ -66,11 +66,6 @@ void Validation(candidat candid) } } -int Recherche_Dichotomique() -{ - -} - void AffichageAdmisAlphabetique(candidat* tCandidAdmis,int tlogi) { for(int i=0;i