how do u sort a list of names?

This is a discussion on how do u sort a list of names? within the C++ Programming forums, part of the General Programming Boards category; anyones help would gladly be appreciated. thanx 4 the time, CwannaB...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    how do u sort a list of names?

    anyones help would gladly be appreciated.

    thanx 4 the time, CwannaB

  2. #2
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    Look up bubble sort on google or in a tutorial.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Another solution is to store the data into a sorted container such as a set.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorting linked list please help with CODE
    By scarlet00014 in forum C Programming
    Replies: 3
    Last Post: 09-27-2008, 11:24 PM
  2. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 09:33 PM
  3. compiler build error
    By KristTlove in forum C++ Programming
    Replies: 2
    Last Post: 11-30-2003, 09:16 AM
  4. sort list of names?
    By CwannaB in forum C++ Programming
    Replies: 1
    Last Post: 03-12-2003, 08:53 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21