Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PILE_H_
- #define PILE_H_
- typedef struct noeud noeud;
- struct noeud {
- char cle;
- noeud *suivant;
- };
- struct pile {
- noeud *debut;
- noeud *fin;
- };
- typedef struct pile pile;
- pile * creerPile(void);
- int pileVide(pile *);
- void empiler(char, pile *);
- char depiler(pile *); // clé du noeud supprimé
- void libererPile(pile *);
- void afficher(pile *); // sous la forme debut>L>I>fin
- #endif /* PILE_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement