Do you know why certain files are not listed by this program, even if they are "regular"?:
#include <stdio.h> #include <sys/types.h> #include <sys/param.h> #include <sys/stat.h> #include <dirent.h> int main(void) { DIR *dh = opendir("./"); // directory ...
I'm trying to write a little helper for Windows which eventually will accept a file extension as an argument and return the number of files of that kind in the current ...