Hi NG
In wich order does "readdir()" read files from the disc? I've got an image
folder with images in the format "00001.jpg" , "00002.jpg" etc. It seems
"readdir()" read the lowest first, but is it certain?
An alternative is to read the files into an array and sort them, does anyone
have any experience with this? Should I use the "SORT_REGUL AR",
"SORT_NUMER IC" or "SORT_STRIN G"?
Thanks alot
Med Venlig Hilsen
Ask Josephsen
Partner og IT
web: www.MinReklame.dk
In wich order does "readdir()" read files from the disc? I've got an image
folder with images in the format "00001.jpg" , "00002.jpg" etc. It seems
"readdir()" read the lowest first, but is it certain?
An alternative is to read the files into an array and sort them, does anyone
have any experience with this? Should I use the "SORT_REGUL AR",
"SORT_NUMER IC" or "SORT_STRIN G"?
Thanks alot
Med Venlig Hilsen
Ask Josephsen
Partner og IT
web: www.MinReklame.dk
Comment