The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Read in text file, sort it, then output to a file

Posted by Hmm on December 16, 2001 at 3:25 PM


> I'm swamped with work and I don't have time to work on this right now.. Would appreciate any help on it. This is what the program has to do.
> -create data file using a text editor
> -write program to open that file and read integers into program
> -sort integers into ascending order
> -send output to another file

Why do you need to write a program to do this? I think every OS has a sort tool you can call from the command line, even Mac OS X has unix consoles.

> help a nigga out, thanks

Huh? Welcome to the 21st century.





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us