上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: //特定的模板友元关系#include "stdafx.h"#include using namespace std;templateclass MyClass1;templateT Get( const T&);templateclass MyClass{public: MyClass(){}; ... 阅读全文
posted @ 2015-06-14 11:44 QQ76211822 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1.函数模板可以用与非模板函数一样的方式声明为 inline。说明符放在模板形参表之后、返回类型之前,不能放在关键字 template 之前。template inline T min(const T&, const T&);2.模板形参的名字可以在声明为模板形参之后直到模板声明或定义的末尾处使... 阅读全文
posted @ 2015-06-10 22:53 QQ76211822 阅读(156) 评论(0) 推荐(0) 编辑
摘要: #pragma data_seg("Shared")volatile int iNum = 0;#pragma data_seg()#pragma comment(linker, "/SECTION:Shared,RWS")windows核心编程里面有讲版权声明:本文为博主原创文章,未经博主允许不得... 阅读全文
posted @ 2015-05-24 09:32 QQ76211822 阅读(412) 评论(0) 推荐(0) 编辑
摘要: float lCount = 123.3; TCHAR tcBalance[MAX_PATH] = {0}; swprintf(tcBalance, MAX_PATH, L"%0.1f", lCount);版权声明:本文为博主原创文章,未经博主允许不得转载。 ... 阅读全文
posted @ 2015-05-24 09:16 QQ76211822 阅读(348) 评论(0) 推荐(0) 编辑
摘要: TCHAR tcFileName[MAX_PATH * 4] = {L"visio2010永久安装密钥.txt"}; TCHAR tcName[MAX_PATH * 4] = {0}; wcscpy(tcName, AfxGetAppName()); CInternetSession sess(tc... 阅读全文
posted @ 2015-05-22 20:07 QQ76211822 阅读(225) 评论(0) 推荐(0) 编辑
摘要: NT式设备驱动程序的动态加载主要是由服务控制管理程序(Service Control Manager,即SCM)系统组件来完成的。 Windwos服务可以在系统启动时加载,用户也可以按需在服务控制平台开启或者关闭服务。程序员可以通过Windows提供的相关服务函数进行加载或者卸载该服务等。服务... 阅读全文
posted @ 2015-05-10 20:18 QQ76211822 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 1.添加mysql.h对着项目右键,选择properties 双击C/C++,选择General,看到Additional Include Directories编辑点击文件夹的按钮点击...按钮进去之后选择到自己安装mysql的位置\mysql server5.5\include,比如我默认安装在... 阅读全文
posted @ 2015-05-10 10:28 QQ76211822 阅读(3268) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #include "my... 阅读全文
posted @ 2015-05-10 10:27 QQ76211822 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: #pragma once#include #include #include #include #include #import "c:\\program files\\common files\\system\\ado\\msado15.dll" no_namespace rename("EOF... 阅读全文
posted @ 2015-05-03 08:52 QQ76211822 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: 数据库对象mssql2005sp3专业版:一般数据引用该路径文件#import "c:\\program files\\common files\\system\\ado\\msado15.dll" no_namespace rename("EOF", "adoEOF")。但是,我昨天在一台电脑上就... 阅读全文
posted @ 2015-05-03 08:47 QQ76211822 阅读(1563) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页