Working on a double linked list problem. I'm trying to print out the items in the list, starting with a list consisting of a single node. I can't get the node to advance (I know that advancing on a one-node list will result in a NULL value, that' fine). I don't know how to pass the node to the function that advances it (called set_fore).
What am I doing wrong when I call set_fore. The compiler is telling me that "link_fore was not declared in this scope", so clearly set_fore is not getting the node correctly since link_fore is a member variable of the D_Node.