|
|
|
@ -18,18 +18,37 @@ typedef struct {
|
|
|
|
|
|
|
|
|
|
// STRUCTURES PARTIE 2
|
|
|
|
|
typedef struct {
|
|
|
|
|
char ville[LEN_MAX], departement[LEN_MAX];
|
|
|
|
|
int decision, validation;
|
|
|
|
|
char ville[LEN_MAX], departement[LEN_MAX];
|
|
|
|
|
int decision, validation;
|
|
|
|
|
} Candidature;
|
|
|
|
|
|
|
|
|
|
typedef Candidature** ListeCandidatures;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
int id;
|
|
|
|
|
char nom[LEN_MAX], prenom[LEN_MAX];
|
|
|
|
|
float moyenneMath, moyenneFrancais, moyenneAnglais, moyenneSpecialite, noteGlobale;
|
|
|
|
|
int nbCandidatures;
|
|
|
|
|
ListeCandidatures listeCandidatures;
|
|
|
|
|
int id;
|
|
|
|
|
char nom[LEN_MAX], prenom[LEN_MAX];
|
|
|
|
|
float moyenneMath, moyenneFrancais, moyenneAnglais, moyenneSpecialite, noteGlobale; // noteGlobale ajoutée Partie III
|
|
|
|
|
int nbCandidatures;
|
|
|
|
|
ListeCandidatures listeCandidatures;
|
|
|
|
|
} Candidat;
|
|
|
|
|
|
|
|
|
|
typedef Candidat** ListeCandidats;
|
|
|
|
|
typedef Candidat** ListeCandidats;
|
|
|
|
|
|
|
|
|
|
// STRUCTURES PARTIE IV
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
char nom[LEN_MAX], prenom[LEN_MAX];
|
|
|
|
|
float moyenneMath, moyenneFrancais, moyenneAnglais, moyenneSpecialite, noteGlobale;
|
|
|
|
|
} CandidatTraite;
|
|
|
|
|
|
|
|
|
|
typedef struct Maillon {
|
|
|
|
|
CandidatTraite candidat;
|
|
|
|
|
struct Maillon *suivant;
|
|
|
|
|
} Maillon;
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
Maillon *tete;
|
|
|
|
|
Maillon *queue;
|
|
|
|
|
} FileAttente;
|
|
|
|
|
|
|
|
|
|
typedef CandidatTraite** ListeAdmis;
|