From aecaedc0a38a711ba35e4225df2da2c9f50243fc Mon Sep 17 00:00:00 2001 From: Malak ATOUIL Date: Fri, 16 Dec 2022 15:19:24 +0100 Subject: [PATCH] ajout structure departement --- Asae.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Asae.h diff --git a/Asae.h b/Asae.h new file mode 100644 index 0000000..1ecc169 --- /dev/null +++ b/Asae.h @@ -0,0 +1,46 @@ +#include +#include +#include +#include +typedef struct +{ + char dept[31]; + int nbP; + char respAd[31]; +}Departement; +typedef struct maillonDept +{ + Departement d; + struct mailllonDept *suiv; + +}MaillonDept,*ListeDept; + +typedef struct +{ + char nom[31]; + ListeDept lDept; + +}VilleIUT; + +int chargement(VilleIUT *tiut[],int *tMax); +MaillonDept lireDep(FILE *flot); +void afficherDep(MaillonDept m); +void afficherVille(VilleIUT v); +void afficherTIUT(VilleIUT *tiut[], int tLog); +int rechercheIUT(VilleIUT *tiut[], int tLog, char ville[], int *trouve); +int insererDept(VilleIUT v, MaillonDept m); +MaillonDept* rechercheDept(ListeDept lDept, int *trouve, char nom[ ] ); +VilleIUT** reallocation(VilleIUT *tiut[], int *tMax); +void globale(void); +void clearpage(void); +int login(void); +void afficherPlace(MaillonDept m); +void menuAdmin(VilleIUT *tiut[], int *tLog, int tMax); +void menuCandidat(VilleIUT *tiut[], int *tLog, int tMax); +VilleIUT** insererVille(VilleIUT *tiut[], int *tLog, int *tMax, char *nomV); + + + + + +