E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
windows.h
C++设计模式之Observer(观察者)模式
以下是参考代码 #include <
Windows.h
> #include < list
·
2015-11-12 19:56
observer
C++ 关键字 (try-finally)
#include <
windows.h
·
2015-11-12 18:29
finally
使用API创建窗体
#include <
windows.h
> // 声明消息处理函数 LRESULT CALLBACK WindowProcedure&
·
2015-11-12 17:51
api
MFC工程中不要#include <
windows.h
>,否则会出错。 from http://applehxb.blogbus.com/logs/48742135.html
windows.h>,那么会有以下编译错误(因为afxwin.h文件中包含了afx.h,afx.h文件中包含了afxver_.h,afxver_.h中包含了afxv_w32.h,而afxv_w32.h中包含了
windows.h
·
2015-11-12 14:26
windows
设置程序 不显示控制台窗口
1,在程序开始时调用FreeConsole();(
windows.h
) 2,在VC开发环境的控制台还是会有的,因为那是VC调的,不过你的程序不会输出到那个控制台罢了 (http://msdn.microsoft.com
·
2015-11-12 13:50
控制台
在win32dll工程中使用mfc的方法
利用向导生成工程的时候,选择了"空工程"选项,自己写的DllMain函数.后来发现要使用到mfc的东西,在vs2008下,尝试了设置:在静态库中使用MFC和在共享dll中使用MFC,编译时出现下面错误:
WINDOWS.H
·
2015-11-12 12:12
Win32
如何使用VC++写一个小程序来检测.NetFrameWork版本
#include “stdio.h”#include “
windows.h
”#include “tchar.h”#include “strsafe.h”#include “stdafx.h”
·
2015-11-12 11:05
framework
C语言实现控制台中光标随意移动
原理就是引入
windows.h
,首先是要获得输入的东西,然后通过判断: 1.方向键:执行上下左右的移
·
2015-11-12 08:46
C语言
IP_ADD_MEMBERSHIP : 组播错误 的解决方法:
www.cnitblog.com/dvb-dvb/archive/2012/10/15/aa.html by default live library includes winsock.h through
windows.h
·
2015-11-11 16:52
add
在非MFC的win 32程序里面能够使用CString类
,今天给大家说说CSring如何在非mfc下的调用 第一:先要包含 #include "afx.h" 包含之后会报
windows.h
重复定义 我们需要把这个头文件包含在
·
2015-11-11 15:44
String类
TLS 俩种基本用法
// #include " stdafx.h " #include <
Windows.h
> #include <
·
2015-11-11 13:18
tls
用C写最简单的Windows窗口程序——WINAPI HelloWorld
代码非常简单: 1 #include <
windows.h
> 2 #include < tchar.h
·
2015-11-11 12:13
helloworld
AR simple第一个程序详细分析
1:首先是头文件的问题:在windows下要添加
windows.h
,在linux下不添加这个;若是要用OpenGL做三维虚拟物体,要添加glut.h;要用ARToolKit库,就要添加AR/gsub.h
chuhang_zhqr
·
2015-11-11 11:36
AR
:C++设计模式之Observer(观察者)模式 http://www.cnblogs.com/chain2012/archive/2011/01/24/1943322.html
以下是参考代码 #include <
Windows.h
> #include < list
·
2015-11-11 06:31
observer
win32 application
#include <
windows.h
> #include < stdio.h > LRESULT CALLBACK WinProc
·
2015-11-11 05:27
application
strsafe.h的include次序问题
strsafe.h不能在
windows.h
, tchar.h, 包括很多C++的头文件,比如<map>,之前被include。
·
2015-11-11 05:27
include
[C++] Win32 API 的多线程Timer管理Trick - 利用PostThreadMessage
这个组件在
windows.h
里被称为Timer.
·
2015-11-11 03:59
message
第一个 Windows 应用程序
#include <
windows.h
> // 窗口过程声明 LRESULT CALLBACK WndProc(HWND, UINT
·
2015-11-11 01:26
windows
迷宫A*算法
#include < iostream > #include < cassert > #include < ctime > #include <
windows.h
·
2015-11-11 00:28
算法
VC获取当前鼠标图片
对于warning C4005: 'WINVER' : macro redefinition的处理 在
Windows.h
中有如下定义: #ifndef WINVER
·
2015-11-10 22:49
图片
读取被选中的单选框和复选框中的内容
#include <
windows.h
> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); HINSTANCE hInst; /*
努力喵
·
2015-11-10 22:00
恶意代码两则
*/ #include <stdio.h> #include <
windows.h
·
2015-11-09 14:58
代码
C/C++ 修改控制台程序文字颜色
示例代码如下: #include <iostream> #include <Windows.h> //需要引用
Windows.h
using namespace std;
·
2015-11-08 10:57
c/c++
VC获取网卡MAC 源码
#include <
windows.h
> #include < wincon.h > #include < stdlib.h > #include <
·
2015-11-08 09:29
mac
绘制正弦函数曲线
代码 #include <
windows.h
> #include < math.h > #include < Wingdi.h
·
2015-11-08 09:03
函数
画一个边缘为红色的椭圆,并用蓝色填充
#include <
windows.h
> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); /* The 'main' function of
努力喵
·
2015-11-08 00:00
画一个圆角矩形、椭圆
#include <
windows.h
> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); /* The 'main' function of
努力喵
·
2015-11-07 23:00
画一个矩形
#include <
windows.h
> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); /* The 'main' function of
努力喵
·
2015-11-07 23:00
Windows下较为精确的计时方法
头文件 1 #include <
Windows.h
> 嵌入到代码中的计时语句 1 // timer 2 LARGE_INTEGER nStartCounter
·
2015-11-07 13:33
windows
跨平台的timmer
#ifndef _PERF_TIMER_H_ #define _PERF_TIMER_H_ #ifdef _WIN32 #include <
windows.h
·
2015-11-07 13:27
平台
SOCKET通信程序源码
控制台程序写的:1.TCP协议:先写服务器端的程序,创建一个服务器端的工程,新建立一个C++源文件,代码如下://sockServ.cpp #include
#include <
Windows.h
暖冰
·
2015-11-06 12:00
stdafx.h和stdafx.cpp的一些解释
stdafx全称standardapplicationframextend,在MFC项目中,一般都会包含stdafx.h和stdafx.cpp文件,MFC项目要使用的头文件比如
windows.h
等都比较大
冬冬咚咚咚
·
2015-11-03 20:08
预编译头文件(stdafx.h)的原理
点击打开链接stdafx名称的英文全称为:StandardApplicationFrameworkExtensions所谓头文件预编译,就是把一个工程(Project)中使用的一些MFC标准头文件(如
Windows.H
gdut2015go
·
2015-11-03 12:00
C++
C语言
2012-08-02 15:07 VC++ 往输出窗口打印调试信息调用函数
首先在程序中引入头文件
windows.h
或winbase.h 调用函数有两种版本 ANSI和UNICODE OutputDebugStringA OutputDebugStringW 自动版本
·
2015-11-02 19:16
vc++
用VC做内联汇编的例子
很方便,所以内联汇编很重要,哈哈哈,下面是自己写的示例代码 代码 #include < iostream.h > #include <
windows.h
·
2015-11-02 16:04
例子
读取PE文件头的一段小程序
,要认真学习PE文件结构,一下的程序读取一个EXE文件的文件头信息 代码 #include < iostream.h > #include <
windows.h
·
2015-11-02 16:02
文件
实现 Win32 程序的消息映射宏(类似 MFC )
其实 Windows 的头文件 “WindowsX.h”(注意:不是“
Windows.h
”) 中提供了一些有用的宏来帮助我们实现消息映射。
·
2015-11-02 15:20
Win32
C++: 组织好include
代码 // ---------------------------------------------------- // 平台 #include <
windows.h
·
2015-11-02 14:24
include
用C实现SEH的例子&如何跟进SEH
代码 #include <
windows.h
> #include < stdio.h > DWORD scratch;
·
2015-11-02 13:13
例子
脱aspack的壳
win32小程序的源码如下: #include < iostream.h > #include <
windows.h
> void
·
2015-11-02 13:13
asp
try-throw-catch&&windows异常处理
的异常处理和windows的异常处理一点关系也没有,以下代码可以说明 代码 #include < iostream.h > #include <
windows.h
·
2015-11-02 13:12
windows
用call ret实现花指令和跳转的例子
代码 #include < iostream.h > #include <
windows.h
> void
·
2015-11-02 13:11
call
花指令的原理和常用花指令收集
花指令的作用是对付静态分析,以下面一段程序说明一下花指令的原理 代码 #include < iostream.h > #include <
windows.h
·
2015-11-02 13:10
原理
设置计算机卷标名
#include " stdafx.h " #include < stdio.h > #include <
windows.h
·
2015-11-02 11:17
计算机
一个超简单的MP3播放
这是从gameres,看到的, 来自 shaoxiaoning #include <
windows.h
> #include < vfw.h
·
2015-11-02 11:10
简单
WindowsMobile2003拨号回拨
. // #include <
windows.h
> #incl
·
2015-11-02 10:16
windows
C++学习笔记1(Windows程序运行原理及程序编写流程)
1.Windows API与Win32 SDK 操作系统提供了各种方便开发Windows应用程序的编程接口,所的函数都在
Windows.h
头文件中声明。Win32 SDK
·
2015-11-02 10:14
windows
创建快捷方式
代码 #include < atlconv.h > #include < atlcomcli.h > #include <
Windows.h
·
2015-11-02 09:36
创建
windows.h
代码 #include <
Windows.h
> #include < windowsx.h > #include "
·
2015-11-02 09:31
windows
VC 显示当前运行的所有进程
#include <
windows.h
> #include < tlhelp32.h > #include < stdio.h >
·
2015-11-01 15:25
VC
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他