#ifndef NODE_H_ #define NODE_H_ #include ; using namespace std; class Node { public: // create a node with value newValue and next field nextElt Node(string newValue, Node * nextElt = NULL); Node(const Node & other); // destroy Node ~Node(); // make newValue the new value void setValue(string newValue); // return value string getValue() const ; // pop elt from the stack Node * getNext() const; // return top element from the stack void setNext(Node *newNext); private: string value; Node *next; }; #endif /*NODE_H_*/