www.digitalmars.com         C & C++   DMDScript  

c++ - sorting a file

reply "jim" <x y.com> writes:
is there a file sort function available ?
Or, do i have to load the file into memory, sort it and then write it back.
Jan 11 2003
parent reply "Matthew Wilson" <dmd synesis.com.au> writes:
Hi Jim

Sort it in what fashion: byte order, text-line lexical comparison?

Matthew

"jim" <x y.com> wrote in message news:avq872$2bj4$1 digitaldaemon.com...
 is there a file sort function available ?
 Or, do i have to load the file into memory, sort it and then write it


Jan 11 2003
parent "jim" <x y.com> writes:
Just a good old ASCII text sort will do.


"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:avq95o$2c6c$1 digitaldaemon.com...
 Hi Jim

 Sort it in what fashion: byte order, text-line lexical comparison?

 Matthew

 "jim" <x y.com> wrote in message news:avq872$2bj4$1 digitaldaemon.com...
 is there a file sort function available ?
 Or, do i have to load the file into memory, sort it and then write it



Jan 11 2003