Here's my dilemma. I am doing a readdir to retrieve a list of filenames. The filenames are like this: 00.jpg .... 09.jpg and so on. Now, what I get from the while loop and the readdir is something like: 02.jpg,05.jpg,00.jpg,01.jpg and so on. This is no good, how can I get it to read in order? Thanks.
Sorting filenames froma readdir
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users