#ifndef LISTNODE_H #define LISTNODE_H #include // Definition of Class ListNode class ListNode { private: // Each object contains two values int data; ListNode *link; public: // These are the member functions for the Class ListNode void SetNext(ListNode *); ListNode * GetNext(); void SetData(int); int GetData(); ListNode(int); ~ListNode(); }; #endif //LISTNODE_H