/*-----------------------------------------------------------------------
	File:  stkicpp2.h
	Author:  M. Sebern
	Date:  23-May-1995
	Purpose:
		Definitions for "stack of integers" abstract data type,
		in C++ with constructor/destructor.
-----------------------------------------------------------------------*/

#ifndef STKICPP2_H
#define STKICPP2_H

/* Include Files: */

class Stack
{
	int	max_elem;
	int	current_elem;
	int*	elems;
public:
	Stack();
	~Stack();
	bool IsEmpty() const;
	void Push(int element);
	int Pop();
	int Top() const;
};

#endif /* STKICPP2_H */
