2010年9月1日
摘要: #include <stdio.h> int getShang(int n) // 对16求商 { return n >> 4; } int getYushu(int n) // 对16求余 { return n & 0xf; } void main() { int n = 1; while(n != 0) { scanf("%d", &n); ... 阅读全文
posted @ 2010-09-01 21:15 清清飞扬 阅读(580) 评论(0) 推荐(0)
摘要: 1. msado15.tlhenum ConnectPromptEnum{ adPromptAlways = 1, adPromptComplete = 2, adPromptCompleteRequired = 3, adPromptNever = 4};enum ParameterAttributesEnum{ adParamSigned = 16, adParamNullable = 64, adParamLong = 128}; enum ParameterDirectionEnum{ adParamUnknown = 0, adParamInput = 1, adParamOutpu 阅读全文
posted @ 2010-09-01 21:13 清清飞扬 阅读(499) 评论(0) 推荐(0)
摘要: (1) 在StdAfx.h中添加下面一句话:#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF", "rsEOF") 阅读全文
posted @ 2010-09-01 21:11 清清飞扬 阅读(3440) 评论(0) 推荐(0)
摘要: (1) 在StdAfx.h中添加下面一句话:#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF", "adoEOF")(2) 连接数据库并读取其中一个字段 阅读全文
posted @ 2010-09-01 21:10 清清飞扬 阅读(1366) 评论(0) 推荐(0)