Thread: sorting linked list

  1. #1
    Unregistered
    Guest

    sorting linked list

    i want to sort linked list as i entered the input type character.algorithm accept input and at the same time sort it working in the loop.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    156
    Its sounds to me like as long as you are getting input from the console (possible end with esc (escape key) ) you'll create a new node populate it with the data from the console and then insert it into the list.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. single linked list to double linked list (help)
    By Countfog in forum C Programming
    Replies: 8
    Last Post: 04-29-2008, 08:04 PM
  2. singly linked to doubly linked
    By jsbeckton in forum C Programming
    Replies: 10
    Last Post: 11-06-2005, 07:47 PM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. Linked list with two class types within template.
    By SilasP in forum C++ Programming
    Replies: 3
    Last Post: 02-09-2002, 06:13 AM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM