Thread: sorting with pointers

  1. #1

    Talking sorting with pointers

    i am trying to sort a list of numbers (ranging from 1000 to 9999) in a function using pointers. The amount of data in each list can be up to 50 entries. When I move an entry in this list, there is corresponding string data in 2 other arrays that I must also move (also pointers). I need to get this list in ascending order but I cant figure out how to do it.

    Any help is appreciated.


  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Use the search function for this board. I get tired of answering the same questions over and over.

    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with linked list sorting function
    By Jaggid1x in forum C Programming
    Replies: 6
    Last Post: 06-02-2009, 02:14 AM
  2. sorting number
    By Leslie in forum C Programming
    Replies: 8
    Last Post: 05-20-2009, 04:23 AM
  3. Variable pointers and function pointers
    By Luciferek in forum C++ Programming
    Replies: 11
    Last Post: 08-02-2008, 02:04 AM
  4. MergeSort with array of pointers
    By lionheart in forum C Programming
    Replies: 18
    Last Post: 08-01-2008, 10:23 AM
  5. moving pointers to pointers
    By Benzakhar in forum C++ Programming
    Replies: 9
    Last Post: 12-27-2003, 08:30 AM