|
|
@ -27,9 +27,28 @@ typedef Candidature** ListeCandidatures;
|
|
|
|
typedef struct {
|
|
|
|
typedef struct {
|
|
|
|
int id;
|
|
|
|
int id;
|
|
|
|
char nom[LEN_MAX], prenom[LEN_MAX];
|
|
|
|
char nom[LEN_MAX], prenom[LEN_MAX];
|
|
|
|
float moyenneMath, moyenneFrancais, moyenneAnglais, moyenneSpecialite, noteGlobale;
|
|
|
|
float moyenneMath, moyenneFrancais, moyenneAnglais, moyenneSpecialite, noteGlobale; // noteGlobale ajoutée Partie III
|
|
|
|
int nbCandidatures;
|
|
|
|
int nbCandidatures;
|
|
|
|
ListeCandidatures listeCandidatures;
|
|
|
|
ListeCandidatures listeCandidatures;
|
|
|
|
} Candidat;
|
|
|
|
} 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;
|