摘要:
/*-----------------------------------------------------------------------------*函数功能: 判断程序是否已运行*参数说明: lpClassName: 类名 lpWindowName: 窗口名称*返回值 : TRUE->已运行 FALSE->未运行*Write By Ardy 2009-02-14------... 阅读全文
摘要:
http://zhidao.baidu.com/question/24901138.html用c语言编写函数Htoi(s)把由16进制数字组成的字符串 转化成与之等价的整型值,字符串中允许包含0-9,a-f,A-F.#include "stdio.h"#include "string.h"int translat(char c){if(c<='9'&&c>='0') r... 阅读全文
摘要:
不定长查找===========================数据格式:"条码",数量"123A",12"1A",1"12C37",9"15h565",46===========================举例:扫描一个条码szCodeIn(如"12C37"),找到记录,数量减一,数量为0不保存计算总量,即把第2个字段的值取出后相加。若不为0,存入FILE_COUNT超过32位的不定长查找要... 阅读全文
摘要:
检查字符串,要求必须包含数字和字母代码 阅读全文
摘要:
#include <Commdlg.h>//---------计算数组大小---------------------#if !defined(lengthof)#define lengthof(x) (sizeof(x) / sizeof(x[0]))#endif //#if !defined(lengthof)//-----------------------------------... 阅读全文
摘要:
Win32 API参考大全 1~6http://blog.pfan.cn/study/articlelist_663_0_1.html 阅读全文