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.
38 lines
717 B
38 lines
717 B
#include<stdio.h>
|
|
#include<stdlib.h>
|
|
#include<string.h>
|
|
#include<stdbool.h>
|
|
|
|
//################ Types de structures ###############
|
|
|
|
typedef struct{
|
|
char dept[31];
|
|
int nbP;
|
|
char respAd[31];
|
|
}Departement;
|
|
|
|
typedef struct maillonDept
|
|
{
|
|
Departement d;
|
|
struct maillonDept *suiv;
|
|
|
|
}MaillonDept,*ListeDept;
|
|
|
|
typedef struct
|
|
{
|
|
char nom[31];
|
|
ListeDept lDept;
|
|
|
|
}VilleIUT;
|
|
|
|
ListeDept listenouv(void);
|
|
ListeDept InsérerEntete(ListeDept l,int nb);
|
|
ListeDept Insérer(Liste l, int x);
|
|
ListeDept supprimerEntete(ListeDept l);
|
|
ListeDept supprimer(ListeDept l, int x);
|
|
int longueur(ListeDept l);
|
|
bool vide(ListeDept l);
|
|
ListeDept ajouterEnqueue(ListeDept l, int x);
|
|
int tete(ListeDept l);
|
|
bool rechercher(ListeDept l, int x);
|