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.

45 lines
817 B

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/* Partie 1 */
typedef struct maillonDept
{
char departement[30];
int nbP;
char resp[30];
struct maillonDept *suiv;
} MaillonDept, *ListeDept;
typedef struct
{
char ville[30];
ListeDept ldept;
} VilleIUT;
/* Partie 2 */
typedef struct
{
char ville[30];
char departement[30];
int decisionAdmission;
int decisionCandidat;
} Choix;
typedef struct maillonChoix
{
Choix choix;
struct maillonChoix *suiv;
} MaillonChoix, *ListeChoix;
typedef struct
{
int num;
char nom[22]; // 20 caractere + 1 espace + 1 caractere de fin de chaine
char prenom[22]; // 20 caractere + 1 espace + 1 caractere de fin de chaine
float tabMatiere[5];
int nbChoix;
ListeChoix lChoix;
} MaillonEtudiant;