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
利用WinSocket发数据(二)
接上文,此代码是服务器段接受程序:#include"
stdafx.h
" #include #include #include #include #include #pragmacomment(lib,
chenqiangdage
·
2014-04-15 23:00
thread
socket
tcp
APP
服务器
vector 排序
有两种方法,下面的例子能很好的说明: 方法1: 我们直接来看代码吧,比较简单,容易理解: #include"
stdafx.h
" #include #include #
wo1185246535
·
2014-04-15 18:00
正确使用UDP广播(C++代码)
. // #include "
stdafx.h
" #include #include #include using namespace std; #pragma comment(
u013805103
·
2014-04-15 16:00
VC++中XML文件的解析读取写入
1、在
stdafx.h
中引用如下#include"TLH/msxml4.tlh"usingnamespaceMSXML22、在app文件中注意初始化com#if_WIN32_WINNT>=0x0400HRESULThRes
Michael@Wu
·
2014-04-15 15:07
程序
VC++
MFC ADO mysql 经验总结
1、引入ADO库文件使用ADO前必须在工程的
stdafx.h
头文件里用直接引入符号#import引入ADO库文件,以使编译器能正确编译。
xuqiang918
·
2014-04-15 11:00
sql
mysql
command
经验
C++ 使用模版范式写一个单例模式的类--简单实现单例模式
#ifndef__SINGLETON__#define__SINGLETON__#include"
stdafx.h
"templateclassSingleton{public:staticT*getInstance
kkk0526
·
2014-04-14 17:00
c语言实现多线程动画程序示例
//#include"
stdafx.h
"//定义一个线程DWORDWINAPISoundProc(LPVOIDLPVIDEOPARAMETERS)
·
2014-04-14 07:27
VC中利用ADO访问数据库的一个简单实例
界面布局如图1所示 图1 VC连接数据库界面布局示意图 2、导入库文件 使用ADO前必须在工程的
stdafx.h
文件最后用直接引入符号#import引入ADO库文件,以使编译器能正确编译。
shufac
·
2014-04-13 23:00
mfc
简单实例
ADO
访问数据库
Dijkstra算法
// #include"
stdafx.h
" #include #defineMAX_VERTEX_NUM20 #d
xiaozz_m608c
·
2014-04-13 14:00
OpenMP编程->入门
#include"
stdafx.h
" #include #include #include usingnamespacestd; intmain() { omp_set_num_threads(2);
sunboyiris
·
2014-04-12 21:00
有关容器vector的一些用法
=m_userName.end()条件就满足如果要用find方法,必须在
stdafx.h
文件中包含#include头文件//用户名和密码验证vector::iteratorite_1=find(m_userName.begin
小文liuwen
·
2014-04-12 21:55
有关容器vector的一些用法
MFC 如何定义头文件和实现分离
MFC小技巧 一般公共的东西都放在
stdafx.h
中 头文件当中不要定义变量,一般在相应的cpp文件中定义,要使用全局变量就加extern
u010236550
·
2014-04-11 14:00
AfxBeginThread的用法
//重点是AfxBeginThread的用法,//MultiThread5Dlg.cpp:implementationfile//#include"
stdafx.h
"#include"MultiThread5
zcj331
·
2014-04-11 13:00
jmail:VC++代码实现
#include"
StdAfx.h
"#include"Threadfun.h"/*************************************************************
zcj331
·
2014-04-11 13:00
实现opencv图像裁剪分屏显示示例
使用OPENCV图像处理库,将图片裁剪分屏显示复制代码代码如下://#include"
stdafx.h
"#include//#include//#include#include#includeusingnamespacestd
·
2014-04-11 10:00
动态规划之多段图(下)
// #include"
stdafx.h
" #include #defineMAX_VERTEX_NUM20 #defineMAX_VALUE_TYPEINT_MAX typedefintVertexType
xiaozz_m608c
·
2014-04-10 16:00
关于MFC使用deque、vector等容器编译不通过的解决方法
在
stdafx.h
头文件里包含容器所在的头文件如:#include#include光这一步还不行,还要写命名空间因为容器是被定义在命名空间里面的usingnamespacestd;这样在mfc框架里面的
小文liuwen
·
2014-04-10 16:28
include
命名
空间
VC 获取网卡信息
#include"
stdafx.h
" #include #include #include #pragmacomment(lib,"Iphlpapi") #pragmacomment(lib,"ws2_
earbao
·
2014-04-10 16:00
vc 无dll注入
//NoDllInjectDlg.cpp:implementationfile // #include"
stdafx.h
" #include"NoDllInject.h" #include"NoDllInjectDlg.h
earbao
·
2014-04-10 15:00
VC 多线程使用临界区
. // #include"
stdafx.h
" #include #include intg_Num_One=0; CRITICAL_SECTIONg_cs; DWORDWINAPIThreadProc
earbao
·
2014-04-10 14:00
OpenCV编程->haar+adaboost识别源码
. // #include"
stdafx.h
" #include"iostream" #include"cv.h" #include"highgui.h" #include #include #include"cxcore.h
sunboyiris
·
2014-04-10 10:00
OpenCV编程->haar+adaboost识别源码
//#include"
stdafx.h
"#include"iostream"#include"cv.h"#include"highgui.h"#include#include#include"cxcore.h
王孟贤
·
2014-04-10 10:00
Mat 版本SVM训练程序
#include"
stdafx.h
" #include #include usingnamespacecv; usingnamespacestd; #include int_tmain(intargc,
yeyang911
·
2014-04-10 08:00
mat
版本SVM训练程序
VC 判断系统和程序是32位和64位
. // #include"
stdafx.h
" #include #include DWORDWINAPIThreadProc(LPVOIDlpParam) { printf("ThreadProc
earbao
·
2014-04-10 00:00
LBP OPENCV 实现
opencvLBP算法实现#include"
stdafx.h
" #include #include usingnamespacecv; usingnamespacestd; //opencv2.0以后版本的
yeyang911
·
2014-04-09 20:00
LBP
OEPNCV
boost::property_tree读取解析ini文件
boost::property_tree读取解析ini文件#include"
stdafx.h
" #include #include #include intmain() { boost:
smilestone322
·
2014-04-09 18:00
VC 拷贝程序到启动目录,实现自启动
. // #include"
stdafx.h
" #define_WIN32_WINNT0x0501 #include #include usingnamespacestd; #include #include
earbao
·
2014-04-09 10:00
动态链接库
// #include"
stdafx.h
" #include"windows.h" HINSTANCEh_st; HHOOKg_KeyBoardHook; //HHOOKg_MouseHook; HWNDg_wnd
haifengzhilian
·
2014-04-08 19:00
VC 获取MBR引导分区数据
. // #include"
stdafx.h
" #include #include #defineBOOTRECORDSIZE440 typedefstruct_BOOTRECORD { unsignedcharBootRecord
earbao
·
2014-04-08 15:00
VC实现简单杀软
//KillMirwzntkDlg.cpp:implementationfile // #include"
stdafx.h
" #include"KillMirwzntk.h" #include"KillMirwzntkDlg.h
earbao
·
2014-04-08 15:00
通过堆栈获取进程自身加载模块
#include"
stdafx.h
" #include #include //通过堆栈获取进程自身模块 voidEnumModule() { DWORD*PEB=NULL, *Ldr=NULL, *Flink
earbao
·
2014-04-08 15:00
VC 实现自删除
. // #include"
stdafx.h
" #include voidCreateBat() { HANDLEhFile=CreateFile("delself.cmd", GENERIC_WRITE
earbao
·
2014-04-08 12:00
C++中读取整个文件的方法
方式一#include"
stdafx.h
" #include #include usingnamespacestd; int_tmain(intargc,_TCHAR*argv[]) { //写入文件
Arcsinsin
·
2014-04-08 10:00
读取文件
opencv CvMLData的简单使用
数据如上图#include"
stdafx.h
" #include #include usingnamespacestd; usingnamespacecv; int_tmain(intargc,_TCHAR
yeyang911
·
2014-04-07 20:00
opencv
CvMLData的简单使用
CvMLData
CvMLData
flash ane (文章撰写测试)
include"
stdafx.h
"andreplaceitwiththis:然后用下面代码替换includeAfterthat,let'sgototheDllMainfunctionandremovetheentireswitchstateme
alin
·
2014-04-06 00:00
flash
zju 1002
//zju1002//#include"
stdafx.h
"#include#includeusingnamespacestd;intN=4;intMax=0;chara[5][5];intjudge(introw
immoshi
·
2014-04-05 16:48
算法
zju 1002
//zju1002 // #include"
stdafx.h
" #include #include usingnamespacestd; intN=4; intMax=0; chara[5][5];
chen_xinjia
·
2014-04-05 16:00
ZOJ
DFS
zju 1091
//TravelingKnightProblem #include"
stdafx.h
" #include #include #include #include usingnamespacestd; inta
chen_xinjia
·
2014-04-05 11:00
ZOJ
DFS
boost::asio TCP客户端编程示例
. // #include"
stdafx.h
" #include #include #include #include usingboost::asio::io_service;
u013805103
·
2014-04-04 17:00
vc 操作excel
1:导入excel.h和excel.cpp(可以从系统中找出的)2:在当前文件夹中加头文件#include "excel.h"3:在
StdAfx.h
中加入 #import "C:\Program
wuan584974722
·
2014-04-04 11:00
mfc
C++ 模板->模板函数
类模板:(1)对模板参数没有限制(2)避免代码的重复(3)注意重载的准确的匹配(4)模板的组合技术(下一次用STL分析)// #include"
stdafx.h
" //#include #include"
stdafx.h
sunboyiris
·
2014-04-04 10:00
C++ 模板->模板函数
类模板:(1)对模板参数没有限制(2)避免代码的重复(3)注意重载的准确的匹配(4)模板的组合技术(下一次用STL分析)//#include"
stdafx.h
"//#include#include"
stdafx.h
王孟贤
·
2014-04-04 10:00
基于TCP的Sockets编程
// #include"
stdafx.h
" #include #include #pragmacomment(lib,"WS2_32.lib") int_tmain(intargc,_TCHAR*
xiaozz_m608c
·
2014-04-03 20:00
QT添加托盘代码
代码 1 #include "vs2008smart.h" 2 #include "
stdafx.h
" 3 Vs2008Smart::Vs2008Smart(QWidget *parent, Qt
sTeVes
·
2014-04-03 16:00
QT添加托盘以及SendInput模拟鼠标键盘用法
代码 1 #include "vs2008smart.h" 2 #include "
stdafx.h
" 3 Vs2008Smart::Vs2008Smart(QWidget *parent, Qt
sTeVes
·
2014-04-03 16:00
大数计算
// #include"
stdafx.h
" #include usingnamespacestd; #ifndefBIG_INT_ARRAY_MAXLEN #defineBIG_INT_ARRAY_MAXLEN50000
0-1
·
2014-04-03 14:00
阶乘
大数运算
幂运算
c语言计算时间方法---clock-GetTickCount-QueryPerformanceCounter
1、头文件time.h,函数clock()#include"
stdafx.h
" #include #include #include intmain(void) { inti,sum=0
cjc211322
·
2014-04-02 21:00
C语言计算时间
lua与c互调--c调用lua
// #include"
stdafx.h
" #include #include extern"C"{ #include"lua.h" #include"lualib.h" #include"lauxlib.h
dai_jing
·
2014-04-02 15:00
lua
vs c库连接 Mysql后, 关闭M时,提示 Run-Time Check Failure #2 - Stack around the variable 'mysql' was corrupted.
//#include"
stdafx.h
"#include #include #include #include #include #include #pragmacomment(lib,"libmysql.lib
wxqian25
·
2014-04-02 15:00
解决set_unexpected不起作用的问题
编译环境:vs2012按照Thinkinc++中写了一段代码#include"
stdafx.h
" #include #include usingnamespacestd; classup{}; classfit
x356982611
·
2014-04-02 12:00
exception
异常处理
vs2012
上一页
102
103
104
105
106
107
108
109
下一页
按字母分类:
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
其他