0_7 標準I/O、文件I/O

C #include "hjcommon.hpp" #include "unistd.h" HJ_NS_BEGIN bool isFileExists(const char *path) { return access(path, 0)==0; } long getFileLen(const char *path) { if (!isFileExists(path)) { hj_l
相關文章
相關標籤/搜索