|
|
@ -1,6 +1,3 @@
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
|
|
|
void menu(void);
|
|
|
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
//Pile
|
|
|
|
//Pile
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct pile
|
|
|
|
typedef struct pile
|
|
|
@ -29,14 +26,18 @@ typedef struct file
|
|
|
|
} file;
|
|
|
|
} file;
|
|
|
|
typedef struct file* File;
|
|
|
|
typedef struct file* File;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Initialisation de fonctions :
|
|
|
|
|
|
|
|
|
|
|
|
File creerfile(int tmax);
|
|
|
|
void menu(void);
|
|
|
|
|
|
|
|
|
|
|
|
void enfiler(File f, int x);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void afficherFileEntier(File f);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int defiler(File f);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void vider_file(File f);
|
|
|
|
//Fonctions relatives aux files : //
|
|
|
|
>>>>>>> edff24b7dc149a06522db6248ac41a7c23354fb6
|
|
|
|
File creerfile(int tmax); //
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
void enfiler(File f, int x); //
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
void afficherFileEntier(File f); //
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
int defiler(File f); //
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
void vider_file(File f); //
|
|
|
|
|
|
|
|
//----------------------------------//
|