Re: [AD] for_each_file suggestion

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


In reply to Charles Wardlaw (Charles Wardlaw <kattford@xxxxxxxxxx>):
>I've noticed that the for_each_file() function under dos/win32 seems to grab
>files in the order they're created, without sorting for filename order.
>Hehe... brings me back to the old days when you could use some norton
>proggie (DS.EXE, I believe) to sort all the directories on your HD...
>anywho, are there any plans to have a sorted for_each_file(), that returns
>files in order, or should I work on a workaround inside my program?

Save the results into an array, and then use qsort().

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/