#ifndef _PILE_H_ #define _PILE_H_ #define SIZE 10 struct stpile { int tab[SIZE]; int taille; /* taille du tableau tab */ int nbElems; /* nombre de valeurs stockees */ }; typedef struct stpile pile; pile creerPile(void); pile copierPile(pile p); void afficherPile(pile p); int estVidePile(pile p); int estPleinePile(pile p); int sommetPile(pile p); int basePile(pile p); void empilerPile(pile* p, int e); void depilerPile(pile* p); #endif