ajout de la structure liste pour la partie 3 ( Jean )

master
Siwa12100 2 years ago
parent c6982bdbb6
commit 6477575508

@ -24,26 +24,6 @@ void testColor(void);
Les structures
------------------------------------------------------------------------
*/
typedef struct log
{
char utilisateur[30];
char mdp[30];
}Log;
typedef struct maillonDept
{
char nomDept[30];
char resp[30];
int nbP;
struct maillonDept *suiv;
}MaillonDept, *ListeDept;
// Utilise pour le tableau de pointeurs sur cette structure (pour Guillaume)
typedef struct
{
char nom[30];
ListeDept ldept;
}VilleIut;
//Proposition structure de candidat & choix pour la partie 2 ( jean ) :
typedef struct
@ -73,6 +53,35 @@ typedef struct maillonCandidat
} MaillonCandidat, * ListeCandidats;
// Structures de la partie 1 :
typedef struct log
{
char utilisateur[30];
char mdp[30];
}Log;
typedef struct maillonDept
{
char nomDept[30];
char resp[30];
int nbP;
//Mise a jour du maillon pour correspondre à la partie 3 :
int moyMin;
int admisMax;
ListeCandidats ladmis;
ListeCandidats lattente;
struct maillonDept *suiv;
}MaillonDept, *ListeDept;
// Utilise pour le tableau de pointeurs sur cette structure (pour Guillaume)
typedef struct
{
char nom[30];
ListeDept ldept;
}VilleIut;
/*
------------------------------------------------------------------------
Les prototypes

Loading…
Cancel
Save