Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #ifndef Stack_h
  2. #define Stack_h
  3. #include "Stack.h"
  4.  
  5. using namespace std;
  6.  
  7. class Stack  {
  8. public:
  9.     Stack();
  10.     void push(int);
  11.     int pop();
  12.     int getSize();     
  13. protected:
  14.     Node* head;
  15.     Node* tail;
  16.     int size;
  17. };
  18. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement