Linked list within a linked list

Discussion in 'C++' started by joshd, Sep 30, 2006.

  1. joshd

    joshd New Member

    Joined:
    Sep 30, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    Im sorry if this question has been asked before, but I did search before posting and couldnt find an answer to my problem. I have two classes each with corresponding linked lists, list1 and list2, each node within list1 has various data and needs to have a pointer to the corresponding node in list2, but I cant figure out how to do this.

    Could someone explain what I might be missing, or maybe point me in the direction of a good article which would help me out? Because for something that should be so simple, it's really got me stumped.

    Thanks,
    Josh
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice