parent
71e9c8b4c2
commit
1fcd602002
@ -1 +1,38 @@
|
|||||||
|
//Pile
|
||||||
|
|
||||||
|
typedef struct pile
|
||||||
|
{
|
||||||
|
int tlogi;
|
||||||
|
int tmax;
|
||||||
|
int* tab;
|
||||||
|
} 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
|
||||||
|
{
|
||||||
|
Pile pEntry;
|
||||||
|
Pile pExit;
|
||||||
|
int* tab;
|
||||||
|
} file;
|
||||||
|
typedef struct file* File;
|
||||||
|
|
||||||
|
|
||||||
|
File creerfile(int tmax);
|
||||||
|
|
||||||
|
void enfiler(File f, int x);
|
||||||
|
|
||||||
|
void afficherFileEntier(File f);
|
||||||
|
|
||||||
|
int defiler(File f);
|
||||||
|
|
||||||
|
void vider_file(File f);
|
||||||
|
Loading…
Reference in new issue