parent
42daaced8b
commit
489660d945
@ -1,31 +1,46 @@
|
|||||||
#include "un.c"
|
/*!
|
||||||
|
\file un.h
|
||||||
|
\author GOIGOUX Lucie & JEUDI--LEMOINE Alix
|
||||||
|
\date 22/12/22
|
||||||
|
\brief Partie 1 de la SAE 1.02
|
||||||
|
|
||||||
const unsigned LENMAX = 30;
|
Application de gestion des candidature dans les IUT de France
|
||||||
|
*/
|
||||||
|
|
||||||
|
const unsigned lenMax = 30;
|
||||||
|
|
||||||
typedef struct MaillonDept {
|
typedef struct MaillonDept {
|
||||||
char departement[LENMAX];
|
char departement[lenMax];
|
||||||
int nbP;
|
int nbP;
|
||||||
char responsable[LENMAX];
|
char responsable[lenMax];
|
||||||
struct MaillonDept* suiv;
|
struct MaillonDept* suiv;
|
||||||
} MaillonDept;
|
} MaillonDept;
|
||||||
|
|
||||||
typedef MaillonDept* ListDept;
|
typedef MaillonDept* ListeDept;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
typedef struct VilleIUT {
|
char ville[lenMax];
|
||||||
char ville[LENMAX];
|
|
||||||
ListeDept ldept;
|
ListeDept ldept;
|
||||||
} VilleIUT;
|
} VilleIUT;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void titreMenuPrincipal(void);
|
void titreMenuPrincipal(void);
|
||||||
void menuCandidat(void);
|
void menuCandidat(void);
|
||||||
void menuAdmin(void);
|
void menuAdmin(void);
|
||||||
void menuResponsable(void);
|
void menuResponsable(void);
|
||||||
void menuPrincipal(void);
|
void menuPrincipal(void);
|
||||||
int chargementDonnees (VilleIUT *tiut[]);
|
|
||||||
|
void ajouterVille(VilleIUT** tiut, VilleIUT* ville, int* nbVilles);
|
||||||
|
void afficherListeVilles(VilleIUT** tiut, int nbVilles);
|
||||||
|
|
||||||
|
ListeDept creerListeDepartement(void);
|
||||||
|
void afficherListeDepartement(VilleIUT ville);
|
||||||
|
MaillonDept* creerDepartement(char* departement, int nbP, char* responsable);
|
||||||
|
ListeDept ajouterDepartement(ListeDept ldept, MaillonDept* dept);
|
||||||
|
ListeDept supprimerDepartement(ListeDept ldept, char* searchDept);
|
||||||
|
void modifierNbPlaces(VilleIUT** tiut, int nbVilles, char* searchIUT, char* searchDept, int nb);
|
||||||
|
|
||||||
|
void saveVilles(VilleIUT* tiut[], int nbVilles);
|
||||||
|
VilleIUT** readVilles(int* nbVilles);
|
||||||
|
|
||||||
|
void test(void);
|
Loading…
Reference in new issue