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