Number of files in folder

Number of files in folder
0.0 0


Please, say, how to count the number of files in a folder “Resources”?



I have a similar problem that I want to list files in a subdir to Resources. It works fine under iOS but under Android I can’t even find the folder I want to list. I’m using readdir and opendir from dirent.h. Here’s a good example of how to use it:

Hope it helps! :slight_smile: