#ifndef _NODE_H #define _NODE_H #include class Node { public: Node(); Node(int); void setValue(int); int getValue(); virtual Node *copy() = 0; virtual void setNext(Node *) { }; virtual Node *getNext() { return (NULL); }; virtual void setPrev(Node *) { }; virtual Node *getPrev() { return (NULL); }; virtual ~Node(); private: int value; }; #endif