Thread: Double Linked lists

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    162

    Unhappy Double Linked lists

    bleh, I hate these things...I've tried a search for em, but nothing's come up....basically, what I need is just the code to add to the beginning and end of a list, and deleting from the end of the list.....This is supposed to be the easy part of the program too ...Anyways, ya, I haven't bothered with linked lists in over a year, and when I did em, it was mostly single linked lists....Our teacher gave us the code, which I copied verbatem into the compiler, and there is still logic errors...No idea whats up with that...When I get home later tonite from work, I can post up what I have, but if someone, can just post those 4 segements of code, that would be even better....Thank you

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I've tried a search for em, but nothing's come up
    You can find a decent tutorial on doubly linked lists here.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Double pointers and linked lists.
    By simo_r in forum C Programming
    Replies: 2
    Last Post: 05-06-2008, 04:25 AM
  2. Singly Linked Lists: Clarification Needed
    By jedispy in forum C++ Programming
    Replies: 4
    Last Post: 12-14-2006, 05:30 PM
  3. need some help with last part of arrays
    By Lince in forum C Programming
    Replies: 3
    Last Post: 11-18-2006, 09:13 AM
  4. Replies: 1
    Last Post: 03-21-2002, 06:10 PM
  5. doubly linked lists
    By qwertiop in forum C++ Programming
    Replies: 3
    Last Post: 10-03-2001, 06:25 PM