摘要: #include <sys/stat.h> #include <io.h> bool FileExist(const char* FileName) { struct stat my_stat; return (stat(FileName, &my_stat) == 0); } bool IsDirectory(const char* FileName) { ... 阅读全文
posted @ 2009-06-22 17:10 pchgo 阅读(215) 评论(0) 推荐(0) 编辑