Search:

Type: Posts; User: Subsonics

Search: Search took 0.03 seconds.

  1. Replies
    11
    Views
    1,331

    You have to ask what the purpose is of not...

    You have to ask what the purpose is of not linking to the head node in those sublists however, for the purpose given by the OP. I also have a hard time, (of the top of my head) to figure out any...
  2. Replies
    11
    Views
    1,331

    The question related to your node and the members...

    The question related to your node and the members parent, child specifically. When you create your list (depending on if you have a special head node or not) could look like this:



    struct node...
  3. Replies
    11
    Views
    1,331

    No. Where ever you create the list you are going...

    No. Where ever you create the list you are going to have 1 reference to it, therefor 1 reference is enough in the nodes as well. It's not going to be a singly linked list because (your) nodes...
  4. Replies
    11
    Views
    1,331

    What is the purpose of the parent, child members?...

    What is the purpose of the parent, child members? If there is no special head struct, surely something like struct node *list; will be enough.
  5. Replies
    11
    Views
    1,331

    Do you know how to create a list? If you do, then...

    Do you know how to create a list? If you do, then you should be able to do it. A typical example node consists of a data element and a link element. In this case you need the data to be another list,...
Results 1 to 5 of 5