|
|
|
@ -25,49 +25,49 @@ typedef struct file* File; // //
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Initialisation de fonctions : ------------------------//
|
|
|
|
|
//
|
|
|
|
|
void menu(void); //
|
|
|
|
|
//
|
|
|
|
|
int loadIUT(VilleIUT** tiut); //Fichier Binaire. //
|
|
|
|
|
//
|
|
|
|
|
int rechercheTabPtVilleIUT(VilleIUT* tab[],int lTab,char* mot); ///////////////////////////////////// N O N ////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux listes chaînées : --// //
|
|
|
|
|
int existe(MaillonDep* liste, char* mot); // //
|
|
|
|
|
// //
|
|
|
|
|
int recherche(MaillonDep* liste, char* mot); // //
|
|
|
|
|
//--------------------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux piles : --// //
|
|
|
|
|
Pile creerpile(int tmax); // //
|
|
|
|
|
// //
|
|
|
|
|
void empiler(Pile p, int x); // //
|
|
|
|
|
// //
|
|
|
|
|
void afficherPileEntier(Pile p); // //
|
|
|
|
|
// //
|
|
|
|
|
int depiler(Pile p); // //
|
|
|
|
|
//----------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux files : --// //
|
|
|
|
|
File creerfile(int tmax); // //
|
|
|
|
|
// //
|
|
|
|
|
void enfiler(File f, int x); // //
|
|
|
|
|
// //
|
|
|
|
|
void afficherFileEntier(File f); // //
|
|
|
|
|
// //
|
|
|
|
|
int defiler(File f); // //
|
|
|
|
|
// //
|
|
|
|
|
void vider_file(File f); // //
|
|
|
|
|
//----------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
void reset(void); //
|
|
|
|
|
//------------------------------------------------------//
|
|
|
|
|
//Initialisation de fonctions : --------------------------------//
|
|
|
|
|
//
|
|
|
|
|
void menu(void); //
|
|
|
|
|
//
|
|
|
|
|
int loadIUT(VilleIUT** tiut); //Fichier Binaire. //
|
|
|
|
|
//
|
|
|
|
|
int rechercheTabPtVilleIUT(VilleIUT* tab[],int lTab,char* mot); //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux listes chaînées : --// //
|
|
|
|
|
int existeDep(MaillonDep* liste, char* dep); // //
|
|
|
|
|
// //
|
|
|
|
|
int recherche(MaillonDep* liste, char* mot); // //
|
|
|
|
|
//--------------------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux piles : --// //
|
|
|
|
|
Pile creerpile(int tmax); // //
|
|
|
|
|
// //
|
|
|
|
|
void empiler(Pile p, int x); // //
|
|
|
|
|
// //
|
|
|
|
|
void afficherPileEntier(Pile p); // //
|
|
|
|
|
// //
|
|
|
|
|
int depiler(Pile p); // //
|
|
|
|
|
//----------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//Fonctions relatives aux files : --// //
|
|
|
|
|
File creerfile(int tmax); // //
|
|
|
|
|
// //
|
|
|
|
|
void enfiler(File f, int x); // //
|
|
|
|
|
// //
|
|
|
|
|
void afficherFileEntier(File f); // //
|
|
|
|
|
// //
|
|
|
|
|
int defiler(File f); // //
|
|
|
|
|
// //
|
|
|
|
|
void vider_file(File f); // //
|
|
|
|
|
//----------------------------------// //
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
void reset(void); //
|
|
|
|
|
//--------------------------------------------------------------//
|