19 lines
196 B
C
19 lines
196 B
C
#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 |