|
Returns an array of strings containing all the file names in the given folder and sub-folders (sub-folders only if recursive_flag==YES)
Parameters:
[IN] folder:
The folder where the files reside
[IN] recursive_flag:
Whether we also want to retrieve the file names from the sub-folders
[OUT] num_of_files:
The number of files in the given folder (and sub flders if recursive_flag==YES)
This is also the size of the returned array
Example:
int num_of_skins;
char **all_skins_names=STATE_utilities_get_file_names("model\\skins\\", NO, &num_of_skins);
for(int i=0; i
|