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.

67 lines
929 B

/*
file: sae1-02.h
author: mathéo THIERRY
flavien BOUHAMDANI
date: 13 dec 2022
permet:
*/
/*
brief:
*/
// Partie 1
typedef struct listville{
char departement[31];
int nbplace;
char responsable[31];
struct listville* suivant;
}MaillonDept, *Listdept;
typedef struct VilleIUT{
char Ville[31];
Listdept ldept;
}Maillon;
// Partie 2
typedef struct listchoix{
char Ville[31];
char dep[31];
int decision;
int validation;
struct listchoix* suivant;
}Maillonchoix, *Listchoixdept;
typedef struct{
int numeroetu;
char nometu[21];
char prenometu[21];
int notes[4];
int nbchoix;
Listchoixdept carte;
}listetuinfo;
// Partie 3
typedef struct listresp{
int numcand;
char Ville[31];
char dep[31];
int decision;
int validation;
}Mailloncarteresp;
// Partie 4
typedef struct listatt{
int numc;
char nom[21];
char prenom[21];
int decision;
struct listatt* suivant;
}Maillonatt;
void test1(void);