#ifndef STACK_VE_H #define STACK_VE_H class StackVE { private: // Private data int topIndex_; int* data_; int size_; public: // Construtor StackVE(int size=2); // Destrutor ~StackVE(); // Public Methods bool isEmpty() { return (topIndex_< 0); } bool isFull() { return (topIndex_== size_-1); } void push(int n); int pop(); int top(); }; #endif