Thread: linked lists

  1. #1
    Banned
    Join Date
    Apr 2015
    Posts
    596

    linked lists

    Hi, I've searched in google and in other websites for learning properly the linked lists in C which this subject considered one of its final subjects...and unfortunately didn't get its concept very well, or I should say I'm still confused about linked lists and feel that I didn't get the idea exactly!, may anyone please help me and simplify the linked lists subject by a code or by an explanation?


    thank you in advance for your assistance anyway!

  2. #2
    Registered User
    Join Date
    Sep 2015
    Posts
    19
    linked lists are nothing more than structures joined together with pointers

    search bluefever software on youtube the guy has a playlist on c programming
    which includes linked lists and much more stuff its where i learned how to do it

    jsut be aware that he makes a mistake in one of the videos and doesn't correct it until a quite couple of videos later which might cause a bug
    just remember to set the forward pointer to NULL after you use malloc()
    you will know what i'm talkign about once you start watching it
    just use this line
    newCar -> next = NULL;
    Last edited by Anonymouss; 09-28-2015 at 11:00 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Double Linked Dynamic Lists Vs Unrolled Linked Lists
    By lantzvillian in forum C Programming
    Replies: 6
    Last Post: 02-14-2012, 01:07 PM
  2. Replies: 4
    Last Post: 05-01-2010, 10:19 PM
  3. Question about Linked lists of lists
    By hear_no_evil in forum C Programming
    Replies: 2
    Last Post: 11-08-2004, 02:49 AM
  4. question on linked lists(stack with linked lists)
    By dionys in forum C Programming
    Replies: 1
    Last Post: 06-02-2004, 11:08 AM
  5. Linked List of Linked lists Revisited.
    By Qui in forum C++ Programming
    Replies: 11
    Last Post: 04-11-2004, 09:45 PM