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
stdafx.h
C/C++ Windows API——获取鼠标位置的窗口句柄
//#include"
stdafx.h
"#include#defineMAX_TEXT_LEN255BOOLCALLBACKEnumChildProcess(HWNDhwnd,LPARAMlParam)
福州-司马懿
·
2016-10-23 11:09
——
Windows
API
VS2015 define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
解决方案二:如错误提示中所说的,在“
stdafx.h
”文件中添加上下面这句,即可。#define_WINSOCK_DEPRECATED_N
福州-司马懿
·
2016-10-19 19:47
——
VC
开发工具
C/C++ Windows API——注册表
//#include"
stdafx.h
"#include#includeintmain(){setlocale(LC_ALL,"chs");LSTATUSerrorCode;HKEYrootHKey=HKEY_CURRENT_USER
福州-司马懿
·
2016-10-19 18:37
——
Windows
API
C/C++ Windows API——文件读写
//#include"
stdafx.h
"#include#includeintmain(){//没有设置这句的话,printf中出现汉字包含后面的非汉字全部都打不出来setlocale(LC_ALL,"
福州-司马懿
·
2016-10-19 12:27
——
Windows
API
C++虚函数如何使用?
1.代码#include"
stdafx.h
"#includeusingnamespacestd;//基类base定义classbase{public:virtualvoiddisp(){coutdisp
小麦麦子
·
2016-10-18 18:00
嵌入式
互联网
IT
C++
C++虚函数如何使用?
1.代码 #include"
stdafx.h
"#includeusingnamespacestd; //基类base定义classbase{public:virtualvoiddisp(){coutdisp
小麦麦子
·
2016-10-18 18:00
C++
互联网
嵌入式
it
C++虚函数如何使用?
1.代码#include"
stdafx.h
"#includeusingnamespacestd;//基类base定义classbase{public:virtualvoiddisp(){coutdisp
小麦麦子
·
2016-10-18 18:00
嵌入式
互联网
IT
C++
C++虚函数如何使用?
1.代码#include"
stdafx.h
"#includeusingnamespacestd;//基类base定义classbase{public:virtualvoiddisp(){coutdisp
小麦麦子
·
2016-10-18 18:00
嵌入式
互联网
IT
C++
C/C++ Windows API——文件/文件夹创建、删除、移动及查看时间
//#include"
stdafx.h
"#includeintmain(){BOOLret;LPCWSTRfilePath1=_T("C:\\Users\\Administrator\\Desktop\
福州-司马懿
·
2016-10-15 16:21
——
Windows
API
C++预处理和宏的使用详解
2.宏定义的使用 考点:使用#define宏定义时需要注意的地方 3.代码 #include "
stdafx.h
"#include#include #define DEBUG//预处理器常量#define
小麦麦子
·
2016-10-14 18:00
C++
互联网
it
C++预处理和宏的使用详解
2.宏定义的使用考点:使用#define宏定义时需要注意的地方3.代码#include"
stdafx.h
"#include#include#defineDEBUG//预处理器常量#defineSQR(x
小麦麦子
·
2016-10-14 18:00
c++
互联网
IT
C++预处理和宏的使用详解
2.宏定义的使用考点:使用#define宏定义时需要注意的地方3.代码#include"
stdafx.h
"#include#include#defineDEBUG//预处理器常量#defineSQR(x
小麦麦子
·
2016-10-14 18:00
c++
互联网
IT
C++预处理和宏的使用详解
2.宏定义的使用考点:使用#define宏定义时需要注意的地方3.代码#include"
stdafx.h
"#include#include#defineDEBUG//预处理器常量#defineSQR(x
小麦麦子
·
2016-10-14 18:00
c++
互联网
IT
Win32串口操作封装
#ifndef__SERIAL_H__#define__SERIAL_H__//#include"
stdafx.h
"#include#include//#include"mutex.h"classCSerial
karo-tong
·
2016-10-13 15:21
c++
HASH表中解决冲突的方法(链址法)…
//#include"
stdafx.h
"#include"stdio.h"#include"stdlib.h"#defineHASHSIZE6999999#defineDATASIZE2000#defineI_USED1
judyzlf
·
2016-10-11 16:11
C/C
单链表的建立(头部延长、尾部延长)、插入操作、删除操作(无头结点的删除、有头结点的删除)
这里简单的介绍了单向链表的创建,链表的冒泡排序法和链表的输出以下是在头部插入时进行的操作头部插入示意图如下:#include"
stdafx.h
"#includestructnode//节点的定义{intdata
i_chaoren
·
2016-10-08 19:20
数据结构
斐波那契数列的实现(简单递归和动态规划)
斐波那契数列的实现(简单递归和动态规划)一、简单递归的实现1#include"
stdafx.h
"2#include3usingnamespacestd;4intf(intn)5{6if(n==0)7{8return0
NewRookie
·
2016-09-29 11:00
二查平衡树的插入与删除(四种旋转)
//#include"
stdafx.h
"#includeusingnamespacestd;//最近需要面试,写以下二查平衡树的插入,删除代码。加深印象,其中的难点是旋转问题。
dream_whui
·
2016-09-28 15:59
数据结构
C++
二查平衡树的插入与删除(四种旋转)
//#include"
stdafx.h
"#includeusingnamespacestd;//最近需要面试,写以下二查平衡树的插入,删除代码。加深印象,其中的难点是旋转问题。
dream_whui
·
2016-09-28 15:59
数据结构
C++
二查排序树的基本操作(插入,删除,找前驱与后继)
//最近要面试,想自己写写这类算法的代码,加深印象#include"
stdafx.h
"//参考算法导论的伪代码编写//有错误的地方,恳请大家批评指正,thx;typedefstructNode{intval
dream_whui
·
2016-09-27 12:28
数据结构
C++
二查排序树的基本操作(插入,删除,找前驱与后继)
//最近要面试,想自己写写这类算法的代码,加深印象#include"
stdafx.h
"//参考算法导论的伪代码编写//有错误的地方,恳请大家批评指正,thx;typedefstructNode{intval
dream_whui
·
2016-09-27 12:28
数据结构
C++
JSON 在 WinCE 下的使用(1)
如下代码:#include"
stdafx.h
"/**功能:将结构化(类)存贮的信息格式化输出JSon字符串,格式
91program
·
2016-09-26 19:43
VS
2005/2008
求一个数组当中最大(最小)值的两种计算方法
求一个数组当中最大(最小)值的两种计算方法1、常用方法(以求最大值为例)1#include"
stdafx.h
"2#include3usingnamespacestd;4int_tmain(intargc
NewRookie
·
2016-09-26 10:00
通过DirectSound实时播放PCM+混音
#include"
StdAfx.h
"#include"AudioPlayer.h"#defineAUDIO_SECOND_COUNT1//10秒缓冲区CAudioPlayer::CAudioPlayer
低调的狮子
·
2016-09-22 11:32
C++
DX
打印从1到最大n位数
//打印从1到最大的n位数#include"
stdafx.h
"#include#includeusingnamespacest
承诺的永远
·
2016-09-15 16:00
数据结构与算法
使用WINDOWS任务管理器绘制正弦曲线
代码使用vs2015编译//
stdafx.h
:标准系统包含文件的包含文件,//或是经常使用但不常更改的//特定于项目的包含文件//#pragmaonce#include"targetver.h"#include
anjiao_1989
·
2016-09-14 12:11
stl
windows
XML的个人习惯解析方法总结
//#include"
stdafx.h
"#include#include//正则表达式的头文件#include"tinyxml.h"//包含TinyXML类库usingnamespacestd;#import"msxml6
Dearmaster
·
2016-09-11 13:22
杂文
XML的个人习惯解析方法总结
//#include"
stdafx.h
"#include#include//正则表达式的头文件#include"tinyxml.h"//包含TinyXML类库usingnamespacestd;#import"msxml6
Dearmaster
·
2016-09-11 13:22
杂文
libevent实现echoclient
先看代码:[cpp]viewplaincopy#include"
stdafx.h
"#include"event2/event.h"#include"event2/util.h"#defineECHO_PORT8888
huangyimo
·
2016-09-08 14:10
libevent
全局钩子过TP
#include"
stdafx.h
"#include"Game.h"BOOLAPIENTRYDllMain(HMODULEhModule,DWORDul_reason_for_call,LPVOIDlpReserved
aap159951
·
2016-09-06 09:38
C++总结
安全编程
xmod文件信息的显示
//#include"
stdafx.h
"#include#include#include"xmod.h"intmain(intargc,char*argv[]){if(argc!
lostspeed
·
2016-09-04 11:32
file
解析16进制
#include"
stdafx.h
"#includeintmain(void){while(1){unsignedlongnum_high=0;unsignedlongnum_low=0;inti=0,
cserrise
·
2016-09-04 09:08
C++
华为校园招聘上机训练
输入例子:helloworld输出例子:5#include"
stdafx.h
"#include#includeusingnamespacestd;intmain(){//strings;chars[5000
Amnesia_SJTU
·
2016-09-03 19:46
校招笔试
递归实现链表反转
//#include"
stdafx.h
"#include"stdio.h"#include"string.h"#include"stdlib.h"typedefstructNode{intvalue;structNode
hiphopmattshi
·
2016-09-03 18:37
编程练习
数据结构——栈的基本操作
/*对栈实现初始化,插入栈顶元素,删除栈顶元素,遍历栈,清空栈等基本操作*/#include#include#include#include"
stdafx.h
"#definetrue1#definefalse0typedefstructNode
Jamie321
·
2016-09-01 10:41
数据结构
入栈
出栈
C语言
数据结构
找出数组中出现超过1/4的三个数
//找出数组中出现1/4的三个数#include"
stdafx.h
"#include#include#includeusingnamespacestd;//数组中有三个数出现超过数组长度1/4,求这三个数
承诺的永远
·
2016-08-30 19:36
数据结构与算法
MFC 自绘ComboBox
效果图:.h文件#pragmaonce#include"
stdafx.h
"classCComboBoxXI:publicCComboBox{DECLARE_DYNAMIC(CComboBoxXI)public
Mr. HLW
·
2016-08-28 22:18
MFC
c++11 多线程编程--原子
#include"
stdafx.h
"#include#include#include#include
小满猗猗
·
2016-08-25 17:55
c++基础
C代码的内存布局
//code_area.cpp://#include"
stdafx.h
"#include#include#includeinta=0;//全局初始化区char*p1;//全局未初始化区voidmain(
RoyKuang07
·
2016-08-25 10:49
C++
电费计算实现程序
//code.h#include"
stdafx.h
"#include"test.h"#include"io.h"intprocess(){USER_TtheKind;/*电表用户的类型*/USE_TIME_tstart_Time
Jamie321
·
2016-08-11 10:46
C++
在Visual Studio 2015中配置OpenGL
本文转载自:百度经验:在VisualStudio2015中配置OpenGL程序测试:#include"
stdafx.h
"#includevoidinit(void){glClearColor(1.0,1.0,1.0,0.0
魏晓蕾
·
2016-08-10 23:57
Computer
Graphics
图论 DFS HDU 1241
#include"
stdafx.h
"#include#include#include#include#include#include#include#include#include#includeusingnamespacestd
再远不过PC
·
2016-08-10 15:32
图论
用VS编译C语言
其实就是对每一个.c文件加上#include"
stdafx.h
"然后把.c文件改为.cpp文件然后在把工程属性中的configurationproperties中的c/c++中的PrecompiledHeader
dodott
·
2016-08-04 11:20
C/C++
计算某年的1月1号是星期几
如果碰到面试不让用现有的函数的话,用蔡勒公式吧:W=c/4-2c+y+y/4+26(m+1)/10+d-1c=年份的前2位,y=年份的后两位,m是月数(1月和2月要当作上一年的13月和14月来计算),d是日;//#include"
stdafx.h
__1478
·
2016-08-03 11:10
基础
dll动态库(一) Visual Studio创建dll动态库
//#include"
stdafx.h
"extern"C"//在C++语言当中,extern"C"告
GitLqr
·
2016-08-03 09:12
c和c++
出现类似'CListView' : is not a class or namespace name的原因及解决方法
在VC6.0MFC中,CListView这样的类没有包含在预编译头文件中,若新建的类继承自该类则会提示错误“没有这样的类或命名空间”,解决方法是将CListView的头文件包含到预编头文件
StdAfx.h
CDownLoad_ZXL
·
2016-07-23 17:34
练习代码
float类型在内存中的存储
首先还是看一道题目:#include"
stdafx.h
"#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){floata
奋发向上的少年
·
2016-07-20 14:12
C++基础
opencv将图片组合成视频播放
#include"
stdafx.h
"#include#include"cv.h"#include"highgui.h"voidmain(){intnum=1;CvSizesize=cvSize(240,240
Watson2016
·
2016-07-20 10:42
opencv
树(5)二叉树层次遍历的应用
#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;typedefstruct_Node{intdata
helloworlddm
·
2016-07-16 11:55
c语言
二叉树
OPENCV3.0 单目摄像头标定(使用官方自带的标定图片)
//#include"
stdafx.h
"#include#include#include"cv.h"#include#includeusingnamespacestd;usingnamespacecv;
dxmcu
·
2016-07-16 10:26
视觉-opencv
上一页
68
69
70
71
72
73
74
75
下一页
按字母分类:
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
其他