|
|
@ -5,11 +5,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
//################ Types de structures ###############
|
|
|
|
//################ Types de structures ###############
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct maillonDept
|
|
|
|
typedef struct{
|
|
|
|
{
|
|
|
|
|
|
|
|
char dept[31];
|
|
|
|
char dept[31];
|
|
|
|
int nbP;
|
|
|
|
int nbP;
|
|
|
|
char respAd[31];
|
|
|
|
char respAd[31];
|
|
|
|
|
|
|
|
}Departement;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct maillonDept
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Departement d;
|
|
|
|
struct maillonDept *suiv;
|
|
|
|
struct maillonDept *suiv;
|
|
|
|
|
|
|
|
|
|
|
|
}MaillonDept,*ListeDept;
|
|
|
|
}MaillonDept,*ListeDept;
|
|
|
@ -22,13 +26,12 @@ typedef struct
|
|
|
|
}VilleIUT;
|
|
|
|
}VilleIUT;
|
|
|
|
|
|
|
|
|
|
|
|
ListeDept listenouv(void);
|
|
|
|
ListeDept listenouv(void);
|
|
|
|
ListeDept InsérerEntete(ListeDept d,int nb);
|
|
|
|
ListeDept InsérerEntete(ListeDept l,int nb);
|
|
|
|
Liste Insérer(Liste l, int x);
|
|
|
|
ListeDept Insérer(Liste l, int x);
|
|
|
|
Liste supprimerEntete(Liste l);
|
|
|
|
ListeDept supprimerEntete(ListeDept l);
|
|
|
|
Liste supprimer(Liste l, int x);
|
|
|
|
ListeDept supprimer(ListeDept l, int x);
|
|
|
|
int longueur(Liste l);
|
|
|
|
int longueur(ListeDept l);
|
|
|
|
bool vide(Liste l);
|
|
|
|
bool vide(ListeDept l);
|
|
|
|
Liste ajouterEnqueue(Liste l, int x);
|
|
|
|
ListeDept ajouterEnqueue(ListeDept l, int x);
|
|
|
|
int tete(Liste l);
|
|
|
|
int tete(ListeDept l);
|
|
|
|
bool rechercher(Liste l, int x);
|
|
|
|
bool rechercher(ListeDept l, int x);
|
|
|
|
Mat lireMat(FILE *fe);
|
|
|
|
|
|
|
|