C语言统计指定目录下的普通文件个数友链
#include <sys/stat.h>#include <dirent.h>#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <string.h>int get_file_num(const char *path);int main(int