Thread: Problem with sorting a string!!

  1. #16
    Registered User
    Join Date
    May 2008
    Posts
    72
    can anyone help me with this little exercice
    Write a program that reads an array of strings, sorts the array using the insertion sort, and displays the sorted array. The array can be declared as follows: char str[SIZE][N]; where N is defined as a preprocessing directive
    make sure you use appropriate string functions such as gets to read a string, and strcpy to perform an assignment

  2. #17
    Registered User
    Join Date
    Sep 2006
    Posts
    8,866
    First, you show your work, ask your specific questions about problems, THEN we assist.

    We're not in the doing homework, business.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inheritance Hierarchy for a Package class
    By twickre in forum C++ Programming
    Replies: 7
    Last Post: 12-08-2007, 04:13 PM
  2. Custom String class gives problem with another prog.
    By I BLcK I in forum C++ Programming
    Replies: 1
    Last Post: 12-18-2006, 03:40 AM
  3. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  4. Replies: 5
    Last Post: 11-07-2005, 11:34 PM