Search:

Type: Posts; User: Rebecca Doris

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    3,294

    You're right. I changed it to void...

    You're right. I changed it to


    void append(int i)
    {
    cursor = first;

    while (cursor->next != NULL)
    {
    cursor = cursor->next;
  2. Replies
    6
    Views
    3,294

    Thank you for your help!

    I tried implementing append this way, but I get a segfault. Do you have any suggestions?


    void append(int i)
    {
    cursor = first;

    while (cursor != NULL)
    {
    cursor =...
  3. Replies
    6
    Views
    3,294

    Linked Lists for Dummies

    I'm stuck on linked lists. I'm confused as to how to create a new linked list --- there are loads of examples on the internet of how to iterate through a linked list that ALREADY exists, and there...
Results 1 to 3 of 3