parent
ce716d4bc5
commit
feeeb83401
@ -0,0 +1,4 @@
|
||||
#include<stdlib.h>
|
||||
#include<stdio.h>
|
||||
#include<string.h>
|
||||
#include"part3.h"
|
@ -0,0 +1,37 @@
|
||||
typedef struct {
|
||||
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 Listchx{
|
||||
Choix chx;
|
||||
struct Listchx * suivchx;
|
||||
}Maillonchx;
|
||||
|
||||
typedef Maillonchx * Listechx;
|
||||
|
||||
|
||||
typedef struct {
|
||||
int nEtu;//numéro d'étudiant
|
||||
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é
|
||||
float noteDoss;//note après étude du dossier
|
||||
int nbchx;//nombre de choix
|
||||
int statut;//liste d'attente ou non
|
||||
Listechx lchx;
|
||||
}Candidat;
|
||||
|
||||
|
||||
typedef struct Mailloncand{
|
||||
Candidat cand;
|
||||
struct Mailloncand * suivcand;
|
||||
}Mailloncand;
|
||||
|
||||
typedef Mailloncand * Listecand;
|
Loading…
Reference in new issue