My Project
Loading...
Searching...
No Matches
src
structures.h
Go to the documentation of this file.
1
#define LEN_MAX 30
2
3
// STRUCTURES PARTIE 1
4
typedef
struct
MaillonDept
{
5
char
departement
[
LEN_MAX
];
6
int
nbP
;
7
char
responsable
[
LEN_MAX
];
8
float
noteMinimale
;
// Ajout Partie III
9
struct
MaillonDept
*
suiv
;
10
}
MaillonDept
;
11
12
typedef
MaillonDept
*
ListeDept
;
13
14
typedef
struct
{
15
char
ville[
LEN_MAX
];
16
ListeDept
ldept
;
17
}
VilleIUT
;
18
19
// STRUCTURES PARTIE 2
20
typedef
struct
{
21
char
ville[
LEN_MAX
], departement[
LEN_MAX
];
22
int
decision
, validation;
23
}
Candidature
;
24
25
typedef
Candidature
**
ListeCandidatures
;
26
27
typedef
struct
{
28
int
id
;
29
char
nom[
LEN_MAX
], prenom[
LEN_MAX
];
30
float
moyenneMath, moyenneFrancais,
moyenneAnglais
, moyenneSpecialite, noteGlobale;
// noteGlobale ajoutée Partie III
31
int
nbCandidatures
;
32
ListeCandidatures
listeCandidatures
;
33
}
Candidat
;
34
35
typedef
Candidat
**
ListeCandidats
;
36
37
// STRUCTURES PARTIE IV
38
39
typedef
struct
{
40
char
nom[
LEN_MAX
], prenom[
LEN_MAX
];
41
float
moyenneMath, moyenneFrancais,
moyenneAnglais
, moyenneSpecialite, noteGlobale;
42
}
CandidatTraite
;
43
44
typedef
struct
Maillon
{
45
CandidatTraite
candidat
;
46
struct
Maillon
*
suivant
;
47
}
Maillon
;
48
49
typedef
struct
{
50
Maillon
*
tete
;
51
Maillon
*
queue
;
52
int
nbAttente
;
53
}
FileAttente
;
54
55
typedef
CandidatTraite
**
ListeAdmis
;
Candidat
Definition:
structures.h:27
Candidat::moyenneAnglais
float moyenneAnglais
Definition:
structures.h:30
Candidat::id
int id
Definition:
structures.h:28
Candidat::nbCandidatures
int nbCandidatures
Definition:
structures.h:31
Candidat::listeCandidatures
ListeCandidatures listeCandidatures
Definition:
structures.h:32
CandidatTraite
Definition:
structures.h:39
CandidatTraite::moyenneAnglais
float moyenneAnglais
Definition:
structures.h:41
Candidature
Definition:
structures.h:20
Candidature::decision
int decision
Definition:
structures.h:22
FileAttente
Definition:
structures.h:49
FileAttente::nbAttente
int nbAttente
Definition:
structures.h:52
FileAttente::tete
Maillon * tete
Definition:
structures.h:50
FileAttente::queue
Maillon * queue
Definition:
structures.h:51
MaillonDept
Definition:
structures.h:4
MaillonDept::departement
char departement[LEN_MAX]
Definition:
structures.h:5
MaillonDept::responsable
char responsable[LEN_MAX]
Definition:
structures.h:7
MaillonDept::suiv
struct MaillonDept * suiv
Definition:
structures.h:9
MaillonDept::noteMinimale
float noteMinimale
Definition:
structures.h:8
MaillonDept::nbP
int nbP
Definition:
structures.h:6
Maillon
Definition:
structures.h:44
Maillon::candidat
CandidatTraite candidat
Definition:
structures.h:45
Maillon::suivant
struct Maillon * suivant
Definition:
structures.h:46
VilleIUT
Definition:
structures.h:14
VilleIUT::ldept
ListeDept ldept
Definition:
structures.h:16
ListeDept
MaillonDept * ListeDept
Definition:
structures.h:12
LEN_MAX
#define LEN_MAX
Definition:
structures.h:1
ListeCandidatures
Candidature ** ListeCandidatures
Definition:
structures.h:25
ListeCandidats
Candidat ** ListeCandidats
Definition:
structures.h:35
ListeAdmis
CandidatTraite ** ListeAdmis
Definition:
structures.h:55
Generated by
1.9.5