码迷,mamicode.com
首页 >  
搜索关键字:pragma once    ( 4839个结果
【windows核心编程】DLL相关
DLL相关的东西1、DLL的加载方式隐式:#pragma comment(lib, "XX.lib");编译器去查找名为XX.dll的DLL,除了名字相同,该DLL和该LIB的GUID也相同。显式:HINSTANCE hInst = LoadLibrary(TEXT("XX.dll"));if(N....
分类:Windows程序   时间:2014-06-07 05:19:21    阅读次数:439
php学习之重要内置函数
1. require_once()函数 此函数在脚本执行期间包含并执行指定的文件,与require语句类似,唯一区别是如果该文件中的代码已经被包含了,则不会再次包含。 require_once()函数保证在脚本执行期间,对于可能出现相同的文件被包含超过一次的 情况下,想确保它包含一次以避免函数重定义...
分类:Web程序   时间:2014-06-07 04:17:20    阅读次数:242
windows 与 Linux SOCKET通讯
windows client 端口// Def_win_client_socket_test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #pragma comment(lib,"ws2_32.lib")#define PORT 4000#de...
分类:Windows程序   时间:2014-06-03 12:07:25    阅读次数:400
Lucene 工作原理
Lucene是一个高性能的java全文检索工具包,它使用的是倒排文件索引结构。该结构及相应的生成算法如下: 0)设有两篇文章1和2 文章1的内容为:Tom lives in Guangzhou,I live in Guangzhou too. 文章2的内容为:He once lived i...
分类:其他好文   时间:2014-05-31 15:14:01    阅读次数:302
C++实现获取本机机器名及外网IP代码
#include "stdafx.h"#include #include #pragma comment(lib, "ws2_32.lib")#pragma comment(lib, "urlmon.lib") #define MAX_SIZE 1024 int GetLocalIP();int G...
分类:编程语言   时间:2014-05-30 04:22:06    阅读次数:273
XMPP iOS客户端实现三:登录、注册
1.创建一个单例模式来管理xmpp的连接和操作 1 +(XMPPManager *)share 2 { 3 static XMPPManager *_share=nil; 4 static dispatch_once_t onceToken; 5 dispatch_once(...
分类:移动开发   时间:2014-05-29 13:20:04    阅读次数:397
C# 使用摄像头拍照 支持Win7 64位
So, how do we capture an image from a WebCam?Once you download the source code that is attached to the article you should have the following three pro...
分类:Windows程序   时间:2014-05-29 10:32:00    阅读次数:609
C# 使用摄像头拍照 支持Win7 64位
原文:C# 使用摄像头拍照 支持Win7 64位So, how do we capture an image from a WebCam?Once you download the source code that is attached to the article you should have...
分类:Windows程序   时间:2014-05-29 10:21:38    阅读次数:687
vc实现ping
//ping.h#ifndef _CPING_H_#define _CPING_H_#include #include #pragma pack(1)#define ICMP_ECHOREPLY 0#define ICMP_ECHOREQ 8#define REQ_DATASIZE 32 // E....
分类:其他好文   时间:2014-05-28 16:59:02    阅读次数:354
response.setHeader();小结
response.setHeader();1. HTTP消息头(1)通用信息头 即能用于请求消息中,也能用于响应信息中,但与被传输的实体内容没有关系的信息头,如Data,Pragma 主要: Cache-Control , Connection , Data , Pragma , Trailer.....
分类:其他好文   时间:2014-05-28 14:48:59    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!