摘要: #include"windows.h"#include"string.h" BOOL IsDirectory(const char *pDir) { char szCurPath[500]; ZeroMemory(szCurPath, 500); sprintf_s(szCurPath, 500, "%s//*", pDir); WIN32_FIND_DATAA... 阅读全文
posted @ 2016-10-25 17:05 南水之源 阅读(5133) 评论(0) 推荐(0)
摘要: //C++ 第一种替换字符串的方法用replace()|C++ 第二种替换字符串的方法用erase()和insert()【 C++string|C++ replace()|C++ erase()|C++ insert()|C++自定义替换字符串函数】 #include #include using namespace std; //第一种替换字符串的方法用replace() void st... 阅读全文
posted @ 2016-10-25 15:05 南水之源 阅读(1934) 评论(0) 推荐(0)
摘要: 原文链接: http://www.cnblogs.com/fairycao/archive/2009/12/09/1620414.html 开源代码:http://www.zlib.net/zlib使用手册:http://www.zlib.net/manual.htmlzlib wince版:htt 阅读全文
posted @ 2016-10-25 10:24 南水之源 阅读(6010) 评论(0) 推荐(0)