03 2017 档案
摘要:#include //判断文件夹是否存在 #include //创建文件夹 //创建本地目录 int createDir(const char* localPath ) { if(0 == _access(localPath,0)) //判断文件夹是否存在 return 0; if(0 != _mkdir(localPath) ...
阅读全文
摘要:#include #include #include inline std::string loadFileEx(const char* path) { setlocale(LC_ALL,"Chinese-simplified");//设置环境中文 std::ifstream ifs(path); setlocale(LC_ALL,"C");//还原环境 r...
阅读全文