Windows c++ API | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Windows c++ API

I am using windows c++ api findfirstfile and findnextfile to get files in a directory... In directory, I have below files a.1 a.9 a.2 a.10 by using API, I am getting files in below order: a.1 a.10 a.2 a.9 it's better to get files in order in which it is shown in directory rather than sorted one as per extension.... is there something we can do on this ?

25th Jul 2019, 2:43 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0 Answers