diff --git a/extra/.~lock.Explication_Structure - Copie.odt# b/extra/.~lock.Explication_Structure - Copie.odt# new file mode 100644 index 0000000..cdfc6ec --- /dev/null +++ b/extra/.~lock.Explication_Structure - Copie.odt# @@ -0,0 +1 @@ +,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/extra/Explication_Structure - Copie.odt b/extra/Explication_Structure - Copie.odt new file mode 100644 index 0000000..55b26eb Binary files /dev/null and b/extra/Explication_Structure - Copie.odt differ diff --git a/src/partie2/saeP2.c b/src/partie2/saeP2.c index e233145..26c4761 100644 --- a/src/partie2/saeP2.c +++ b/src/partie2/saeP2.c @@ -235,6 +235,9 @@ void CreateCandidat(candidat** tcandid,int* nbcandidat) perror("Erreur :"); exit(errno); } + Candidat_Ajout->nbchoix=0; + voeu Tab[20]; + Candidat_Ajout->TabVoeu=Tab; tcandid[*nbcandidat-1]=Candidat_Ajout; printf("Ajout fini\nVotre numéro de candidat est : %d",\ Candidat_Ajout->numcandid);