在unix/linux下对目录的一个操作
摘要:
最近老板要求把之前做Graduate procruste analysis的代码update一下,顺便就把之前对linux系统下文件目录的操作重新整理了,根据目录是否存在,去生成或者读取目录。源代码如下://FileSys.h#ifndef _FILESYS_H_#define _FILESYS_H_#include<dirent.h>#include<cstdio>#include<cstdlib>#include<cstring>#include<errno.h>#include<strings.h>#include& 阅读全文
posted @ 2012-04-17 09:27 fuopen 阅读(167) 评论(0) 推荐(0)
浙公网安备 33010602011771号