using linkedlists as members of nodes

i want to use a linkedlist as a member of a node.but nodes are members of linkedlists so i don't know how. please help


  • [code]

    class LinkedList;

    class Node
    LinkedList *list;
    Node *next;

    class LinkedList
    Node *startNode;


    Maybe this wasn't what you meant, but..

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion