Thread: Re: Singly Linked Lists

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    71

    Re: Singly Linked Lists

    Hi,
    I'm required to do something on singly linked lists. We've had an example discussed in class, in which you delete a node of the list. What would be something else, of about the same level of simplicity, to do with linked lists?


    Linette

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Well...ugh.......how about;

    INSERT A NODE


    That will knock'em dead

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Something to do with a linked list? What about creating a stack? It's just inserting and deleting nodes from the list.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with FIFO Queue using Singly Linked Lists
    By astou in forum C++ Programming
    Replies: 6
    Last Post: 03-15-2008, 02:36 PM
  2. Singly Linked Lists: Clarification Needed
    By jedispy in forum C++ Programming
    Replies: 4
    Last Post: 12-14-2006, 05:30 PM
  3. Linked Lists 101
    By The Brain in forum C++ Programming
    Replies: 5
    Last Post: 07-24-2004, 04:32 PM
  4. need help w/ linked lists
    By MKashlev in forum C++ Programming
    Replies: 11
    Last Post: 08-05-2002, 08:57 PM
  5. eof in fstream & singly linked lists
    By mazo in forum C++ Programming
    Replies: 3
    Last Post: 06-03-2002, 09:50 AM