How can I enumerate all file in a directory?

How can I enumerate all file in a directory by using cocos2dx CCFileUtils?

Just like NSFileManager [fileManager enumeratorAtPath:path]; .

thx a lot.

Sorry but this is still not possible with cocos2d-x (see http://www.cocos2d-x.org/boards/6/topics/4562?r=11059). You could use dirent.h or boost library for cross platform solution

What a pity. I will try the dirent.h.

Thank you for your answer.