#ifndef STACK_LE_H #define STACK_LE_H class StackLE { friend class StackLEIterator; private: // Private data struct elemPilha { elemPilha *next_; int value_; elemPilha(elemPilha *p, int v) { next_=p; value_=v; } }; elemPilha* top_; public: // Construtor StackLE(); // Public Methods bool isEmpty() { return top_ == 0L; } bool isFull() { return false; } void push(int n); int pop(); int top(); }; #endif