/////// ArbStack.h /////// // generic stack derived from generic list #include #include "../arblist/ArbList.h" class ArbStack : private ArbList // keyword private is optional { public: ArbStack() { } // default constructor ArbStack(Arbent z); // constructor int push(Arbent z); Arbent pop(); ArbList::is_empty; // make is_empty visible }; inline int ArbStack::push(Arbent z) { return put_on(z); } inline ArbStack::ArbStack(Arbent z) { put_on(z); }