title: C++ - Load all filename + count the number of files in a current directory + filter file extension
body: <p>I want to count the number of file in the current directory as well as load all file names in the array. If possible, I want to know how to filter file extension also</p>