Ajout structures Partie 4

master
Alix JEUDI--LEMOINE 2 years ago
parent cfc4b9e861
commit 5f88def9b7

@ -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;
Loading…
Cancel
Save