随笔 - 493  文章 - 0  评论 - 97  阅读 - 239万
09 2010 档案
求一个整数n对16求商和余数
摘要:#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 清清飞扬 阅读(567) 评论(0) 推荐(0) 编辑
msado15.tlh中重要的枚举(精简)
摘要: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 清清飞扬 阅读(488) 评论(0) 推荐(0) 编辑
VC连接SQL2005(例子ADO_2)
摘要:(1) 在StdAfx.h中添加下面一句话:#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF", "rsEOF") 阅读全文
posted @ 2010-09-01 21:11 清清飞扬 阅读(3430) 评论(0) 推荐(0) 编辑
vc连接Access2003
摘要:(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 清清飞扬 阅读(1352) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

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