Overload operator with Stack that implements linked list

struct Node {
int entry;
Node *next;
Node(); //1
Node(int item, Node *link = NULL); //2
};


class Stack {
public:
Stack(); //3
~Stack(); //4
void PrintAll(); //5
private:
Node *top;
int count;
};

Implement: 1 2 3 4 5
and overload operator <<, >>, =


Plz help me this assignment :(


Plz help me this assignment :(

Try to do it yourself first :(
Topic archived. No new replies allowed.