黑马《linux基础编程》学习笔记(85到87)

八十五. 读取指定目录下的普通文件的个数——代码编程 getfilenummer.ccentos #include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <sys/types.h> int get_file_num(char* root) { int total = 0;
相关文章
相关标签/搜索