/* programme : commun.h auteur : Lola Chalmin, Roxane Rossetto date : 13/12/22 finalité : SAE 1.02 Algorithme */ /* Brief : */ #define TAILLE 100; typedef struct { int nEtu;//numéro d'étudiant char ville[20];//ville choisie char dptmt[20];//département choisi int dec;//décision du choix int valid;//validation du candidat }Choix; typedef struct liste1{ Choix chx; struct list1 * suivchx; }Maillon1; typedef Maillon1 * list1; typedef struct { char nom[20];//nom de l'étudiant char prenom[20];//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é int nbchx;//nombre de choix Choix * lchx; }Candidat; typedef struct liste{ Candidat cand; struct liste * suivcand; }Maillon; typedef Maillon * Liste; Candidat lireCandidat(void); Choix lirechx (void); void AffC(Candidat c); typedef struct liste { Choix chx; struct liste * suivant; }Maillon;