|
|
|
@ -8,15 +8,6 @@ typedef struct pile
|
|
|
|
|
} pile;
|
|
|
|
|
typedef struct pile* Pile;
|
|
|
|
|
|
|
|
|
|
Pile creerpile(int tmax);
|
|
|
|
|
|
|
|
|
|
void empiler(Pile p, int x);
|
|
|
|
|
|
|
|
|
|
void afficherPileEntier(Pile p);
|
|
|
|
|
|
|
|
|
|
int depiler(Pile p);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//File
|
|
|
|
|
typedef struct file
|
|
|
|
|
{
|
|
|
|
@ -26,10 +17,28 @@ typedef struct file
|
|
|
|
|
} file;
|
|
|
|
|
typedef struct file* File;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Initialisation de fonctions :
|
|
|
|
|
|
|
|
|
|
void menu(void);
|
|
|
|
|
|
|
|
|
|
//Fonctions relatives aux listes chaînées : //
|
|
|
|
|
int existe(Listedep 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); //
|
|
|
|
|
//
|
|
|
|
|