From 881216e3ed9f12bf95bebbc997155146fd83a2e6 Mon Sep 17 00:00:00 2001 From: loris Date: Fri, 16 Dec 2022 16:43:46 +0100 Subject: [PATCH] structure MaillonDept et structure VilleIut --- liste.c | 2 ++ sae.h | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 liste.c diff --git a/liste.c b/liste.c new file mode 100644 index 0000000..3ded597 --- /dev/null +++ b/liste.c @@ -0,0 +1,2 @@ +#include "sae.h" + diff --git a/sae.h b/sae.h index 3bda30a..b9b093c 100644 --- a/sae.h +++ b/sae.h @@ -3,3 +3,17 @@ #include #include +typedef struct maillonDept +{ + char nomDept[30]; + char resp[30]; + int nbP; + struct maillonDept *suiv; +}MaillonDept, *Ldept; + +// Utilise pour le tableau de pointeurs sur cette structure (pour Guillaume) +typedef struct +{ + char nom[30]; + Ldept l; +}VilleIut; \ No newline at end of file