Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STACK_HPP
- #define STACK_HPP
- #include <iostream>
- #include <iomanip>
- using namespace std;
- class STACK
- {
- public:
- STACK();
- ~STACK();
- void Push(int value);
- void Pop(int &value);
- int Is_Empty();
- private:
- protected:
- struct NODE
- {
- int value;
- NODE * link;
- };
- NODE * Head;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement