2014年9月25日
摘要: 经常操作注册表,然后得到一份操作注册表函数实现。这里备份下。 #ifndef _REGEDIT_H #define _REGEDIT_H int RegRead_S (struct HKEY__*ReRootKey,TCHAR *ReSubKey,TCHAR *ReValueName,TCHAR *Content, DWORD nLength); int RegRead_D (struc... 阅读全文
posted @ 2014-09-25 17:50 好好单调 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 目标: 判断源字符串中是否含有指定子串,子串可能会有*号通配符。 初步测试没问题。记录下来。后面要是有问题再来纠正。 #include using namespace std; // 带*号通配符的字符串匹配,'*'代表任意字符串,包括空字符串 bool WildcardCaptureA(const char* lpszSour, const char* lpsz... 阅读全文
posted @ 2014-09-25 14:48 好好单调 阅读(725) 评论(0) 推荐(0) 编辑