#ifndef STACK_H #define STACK_H #include #include "node.h" using namespace std ; class Stack{ friend ostream & operator<<(ostream &, const Stack&) ; private: node * top ; public: Stack() ; ~Stack() ; void Push(int) ; int Pop() ; bool IsEmpty() ; void Print() ; Stack & operator=(Stack &) ; bool operator==(const Stack &) ; }; #endif