From 5a8b31a613e2bcd9ddcb49df740ccb6722aa821c Mon Sep 17 00:00:00 2001 From: Jade VAN BRABANDT Date: Mon, 26 Dec 2022 18:18:14 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20structures=20n=C3=A9cessaire=20?= =?UTF-8?q?=C3=A0=20Load=20candidat=20et=20d=C3=A9finission=20de=20cette?= =?UTF-8?q?=20fonction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/partie2/saeP2.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/partie2/saeP2.h b/src/partie2/saeP2.h index 8b13789..19276cc 100644 --- a/src/partie2/saeP2.h +++ b/src/partie2/saeP2.h @@ -1 +1,18 @@ +typedef struct +{ + char ville[31]; + char dep[31]; + int ddep; + int vcand; +}voeu; +typedef struct +{ + int numcandid; + char surname[31]; + char name[31]; + int note[4] + voeu ListeVoeu[100]; +}candidat; + +candidat* LoadCandid(void); \ No newline at end of file