Someone
public text v1 · immutable#ifndef STACK_H
#define STACK_H 1
namespace Hagbard {
template <class Type>
class Stack {
private:
Type *Items;
int Top;
int Length;
public:
Stack ( int Length );
bool IsEmpty ( void );
bool IsFull ( void );
bool Push ( const Type & Item );
bool Pop ( Type & Item );
~Stack ( void );
int GetLength ( void );
};
}
#endif