03 2017 档案

摘要:#include //判断文件夹是否存在 #include //创建文件夹 //创建本地目录 int createDir(const char* localPath ) { if(0 == _access(localPath,0)) //判断文件夹是否存在 return 0; if(0 != _mkdir(localPath) ... 阅读全文
posted @ 2017-03-16 09:00 Tigmer 阅读(866) 评论(0) 推荐(0) 编辑
摘要:#include #include #include inline std::string loadFileEx(const char* path) { setlocale(LC_ALL,"Chinese-simplified");//设置环境中文 std::ifstream ifs(path); setlocale(LC_ALL,"C");//还原环境 r... 阅读全文
posted @ 2017-03-13 17:15 Tigmer 阅读(222) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示