You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB

typedef struct {
char ville[26];//ville choisie
char dptmt[26];//département choisi
int dec;//décision du choix
int valid;//validation du candidat
}Choix;
typedef struct Listchx{
Choix chx;
struct Listchx * suivchx;
}Maillonchx;
typedef struct {
Maillonchx *ttchx;
Maillonchx *kechx;} Filechx;
typedef struct {
int nEtu;//numéro d'étudiant
char nom[26];//nom de l'étudiant
char prenom[26];//prénom de l'étudiant
float moymat;//moyenne en maths
float moyfr;//moyenne en français
float moyen;//moyenne en anglais
float moyspe;//moyenne en spécialité
float noteDoss;//note après étude du dossier
int nbchx;//nombre de choix
Listechx lchx;
}Candidat;
typedef struct Mailloncand{
Candidat cand;
struct Mailloncand * suivcand;
}Mailloncand;
typedef struct {
Mailloncand *ttcand;
Mailloncand *kecand;} Filecand;
Filechx initchx (void);// initialise une file choix a NULL
Filecand initcand (void);// initialise une file candidat a NULL
int testVideCand (Filecand f);// fonction test si la Filecand est vide return 1 sinon 0