上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 34 下一页
摘要: 1需要包含文件加 #pragma once (MS)2 使用宏 /* 2.h */ #ifndef H_2#define H_2#include "3.h"#endif (最后)3#include的时候用条件判断下,如#ifndef H_2#include "2.h" #endif 4 变量等定义写到CPP中,在h中 使用 extern如果 cpp中, int i;h中 extern int i; 阅读全文
posted @ 2010-10-04 11:18 谭志宇 阅读(474) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-10-03 19:48 谭志宇 阅读(1628) 评论(0) 推荐(0) 编辑
摘要: 1、http://fayaa.com/code/view/?lang=cpp 代码发芽2、http://www.stlchina.org/ stl中文站3、http://www.vckbase.com/ VCBASE国外网站: 1、http://www.sgi.com/tech/stl/ 2、http://www.boost.org/ 3、http://www.planetsourcecode.c... 阅读全文
posted @ 2010-07-22 10:09 谭志宇 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 1 遍历IP 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//参数为网络字节序//如192.0.0.1(1<<24)+(0<<16)+(168<<8)+(192<<1)=16820416;APIi... 阅读全文
posted @ 2010-07-09 16:57 谭志宇 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usesshdocvw,Mshtml,ActiveX;functionGetIEFromHWND(WHandle:HWND;varIE:IWebbrowser2):HRESULT;varhInst:H... 阅读全文
posted @ 2010-06-21 16:17 谭志宇 阅读(399) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-06-17 01:15 谭志宇 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--{*******************************************************}{}{}{}{版权所有(C)2010公司名}{防止程序多开}{}{**********... 阅读全文
posted @ 2010-06-06 10:16 谭志宇 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 思路很简单, 创建一事件,再创建一线程等待事件,再用OpenEvent根据事件名称打开,MSDN说明:Fast user switching is implemented using Terminal Services sessions. The first user to log on uses session 0, the next user to log on uses session 1,... 阅读全文
posted @ 2010-06-06 10:00 谭志宇 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//启动ShellOSVERSIONINFOEXOSVerInfo;OSVerInfo.dwOSVersionInfoSize=sizeof(OSVERSIONINFOEX);if(!GetVers... 阅读全文
posted @ 2010-06-03 17:24 谭志宇 阅读(178) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2010-06-01 14:47 谭志宇 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 34 下一页