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.
35 lines
661 B
35 lines
661 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
|
|
typedef struct maillondept {
|
|
char departement[30];
|
|
int nbPlaces;
|
|
char nom[30];
|
|
struct maillondept* suiv;
|
|
}MaillonDept;
|
|
|
|
|
|
typedef MaillonDept* ListeDept;
|
|
|
|
typedef struct {
|
|
char ville[30];
|
|
ListeDept idDept;
|
|
}VilleIUT;
|
|
|
|
ListeDept creerListeDept(void);
|
|
|
|
ListeDept ajouterEnTete(ListeDept l, char* dept, char* nom, int nbP);
|
|
|
|
ListeDept inserer(ListeDept l, char *dept, char *nom, int nbP);
|
|
|
|
void affichageListeDept(ListeDept l);
|
|
|
|
VilleIUT lireVille(FILE *flot);
|
|
|
|
ListeDept traiterDept(ListeDept l, FILE *flot);
|
|
|
|
VilleIUT** chargementVille(char* nomFich, int tphys, int* tailleL);
|
|
|