CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Alterah

Search: Search took 0.02 seconds.

  1. Replies
    32
    Views
    30,063

    Re: A task involving linked lists and a headache

    Is the reason to decrease the size of the nodes? Most examples don't have data as a pointer, but then again, most examples use primitives for the data.
  2. Replies
    32
    Views
    30,063

    Re: A task involving linked lists and a headache

    What GCDEF is referring to is to have a struct:


    struct Node
    {
    MyClass data;
    Node *next; //points to next node in the list
    };

    You then will use these nodes in your linked list...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured