// lifo.h  -- Stack of characters (dynamic storage)

class Lifo {
	struct node{
		node *next;
		char value;
	};
	node * next;	// whence we pop
public:

	// create and initialize a lifo
	Lifo();

	// push a new value into an existing lifo
	void push(char who);

	// pop a value from a lifo
	char pop();

	// check if a lifo is empty
	int isempty();
};