All pastes #810048 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-09 14:39 UTC
rendered paste body
#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