ProjetGIT_TP_Forth/PILE/pile.h

19 lines
290 B
C

#ifndef PILE_H
#define PILE_H
struct cell {
int val;
struct cell * suiv;
};
struct pile {
int taille;
struct cell * deb;
};
void init(struct pile ** une_pile);
int pop(struct pile * une_pile);
void push(int e, struct pile * une_pile);
void print(struct pile une_pile);
#endif