Thread: sorting linked list

  1. #1
    help me

    Unhappy sorting linked list

    i am trying to make a function which sort the linked list when passed the header to it.the list consists of struct with data( int and char array).can ne1 help?

  2. #2
    help me
    and have to sort in increasing order of data int!

  3. #3
    Join Date
    Aug 2001
    Groningen (NL)
    Which sorting algorithm do you want to use? Study how that algorithm works and then apply it to the linked list datastructure.

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