DEV/DEV1.1/TP15/pile.h

19 lines
196 B
C
Raw Normal View History

2023-01-04 15:31:14 +01:00
#ifndef _pile_h
#define _pile_h
struct pile;
typedef struct pile pile;
int empty(pile *p);
char pop(pile **p);
void push(pile **p,char v);
char top(pile **p);
void clear(pile **p);
#endif