Results 1 to 3 of 3

Thread: IA- Sorting contents of a file

  1. #1
    Join Date
    Feb 2010
    Posts
    3
    Rep Power
    0

    Default IA- Sorting contents of a file

    ok so i've finished two of my functions (mostly) so far and i'm trying to do the sorting one now. But it is seriously giving me a hard time. So I began to wonder, is it even possible to do what I want to do.

    So basically, can I sort the contents of a file? All I have been seeing is sorting arrays -_-. Well if I can't, does anyone know a way I can get around it?

    Thirdly, does anyone know how to print contents of a file, as in sending it to the printer (and to the screen so i can see the difference)?

    Thanks.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,514
    Rep Power
    0

    Default

    Get around it.. Store it somewhere temporary and arrange it there.. maybe arrays.. Then print the arranged thing to text thats the best thing that i can think of.

    If that doesn't work try these links:

    http://www.dreamincode.net/forums/in...howtopic=20240

    http://www.daniweb.com/forums/thread40342.html

    http://www.programmersheaven.com/mb/...lphabetically/

    If that don't help.. I tried

  3. #3
    Join Date
    Feb 2010
    Posts
    3
    Rep Power
    0

    Default

    Thanks much! It really helps . Now I gotta finish this thing in an hour.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •