Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef Stack_h
- #define Stack_h
- #include "Stack.h"
- using namespace std;
- class Stack {
- public:
- Stack();
- void push(int);
- int pop();
- int getSize();
- protected:
- Node* head;
- Node* tail;
- int size;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement