#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    10
    Rep Power
    0

    Only examples list with head and headless.


    Hello,

    Guys, just wanted to put that list with examples of head and headless. The reason is that in forums and websites visited me very confused. If you can, put for example, the functions of insertion, create empty list and display the list (printing).
    These lists are killing me! I am now grateful for any example.
    Last edited by tek6; September 25th, 2012 at 08:09 PM. Reason: Not translated into English
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,840
    Rep Power
    480
    See post 5.
    http://forums.devshed.com/c-programming-42/circularly-linked-list-woes-930955.html


    Study this headless 1 direction circularly linked list code example I recently wrote. Maybe it will help you. I inserted explanatory comments, and hold no illusion that these comments are illuminating.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo