tinydir,轻量级便携和易于集成C目录和文件阅读器。用法: voidget_file_names(stringdir_name,vector&names) { names.clear(); tinydir_dirdir; tinydir_open(&dir;,dir_name.c_str()); while(dir.has_next) { tinydir_filefile; tinydir_readfile(&dir;,&file;); if(!file.is_dir) { names.push_ba