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
浅谈Socket编程(c++语言)
//#include"
stdafx.h
"#pragmacomment(lib,"ws2_32.lib")#defineDEFAULT_PORT 5150#defineDEFAULT_BUFFER 2048char
lst921004
·
2015-07-31 17:43
socket
学习二维动态数组指针做矩阵运算的方法
//#include"
stdafx.h
"#include"stdlib.h"#include"windows.h"#defineOK0#defineNG-1typedefstructmat{intnRow
王维来
·
2015-07-30 16:14
stdafx.h
、stdafx.cpp两个文件的作用
stdafx.h
、stdafx.cpp是干什么用的?为什么我的每一个cpp文件都必须包含
stdafx.h
?这两个文件用于建立一个预编译的头文件.PCH和一个预定义的类型文件STDAFX.OBJ。
DDwang
·
2015-07-29 09:00
八皇后问题
// #include"
stdafx.h
" #include #include usingnamespacestd; #defineN8 typedefunsignedcharB
u014568921
·
2015-07-29 02:00
八皇后
模版小结2
//#include"
stdafx.h
"#include#include#includetemplatestructintegral_constant{ staticconstTvalue=v; typedefTvalue_type
pud_zha
·
2015-07-28 10:00
马的遍历问题
// #include"
stdafx.h
" #include #include usingnamespacestd; typedefunsignedcharBYTE; //#defineWid
u014568921
·
2015-07-28 01:00
算法
马的遍历
谨记在stl比较函数最后加上const修饰符
功能实现: 使用equal_range()对list集合进行值查找(list中的元素为自定义类型),如下所示:#include "
stdafx.h
" #include #include #include
whatever957
·
2015-07-28 00:23
Const
equal_range
operaotr<
谨记在stl比较函数最后加上const修饰符
功能实现:使用equal_range()对list集合进行值查找(list中的元素为自定义类型),如下所示:#include "
stdafx.h
"#include #include #include using
whatever957
·
2015-07-28 00:23
equal_range
operaotr
错误分析
谨记在stl比较函数最后加上const修饰符
功能实现: 使用equal_range()对list集合进行值查找(list中的元素为自定义类型),如下所示:#include "
stdafx.h
" #include #include #include
whatever957
·
2015-07-28 00:23
Const
equal_range
operaotr<
VS2008 C++ 错误 fatal error C1853: "Debug\sift.pch"
在VC++中,默认的预编译头文件是针对C++的(
stdafx.h
和stdafx.cpp),当然也可以创建针对C的预编译头。
安静平和
·
2015-07-27 17:32
C/C++
C语言实现头插法(链表)
//头插法,插入新元素 // #include"
stdafx.h
" #include #include #include structnode { intnum; structnode*next
yangliweng2
·
2015-07-26 11:00
C++中inline内联函数
Cpp代码 /** *在类里定义的成员函数会被隐含指定为内置函数 */ #include "
stdafx.h
" #include
u013087513
·
2015-07-25 15:00
C++ 线程(三)
//#include"
stdafx.h
"#include#include#include#include usingnamespace std; cla
lbaihao
·
2015-07-24 17:00
C++那些细节--中operator=相关问题
// #include"
stdafx.h
" #include #include using
puppet_master
·
2015-07-23 14:00
C++
operator
复制构造函数
拷贝构造函数
深拷贝浅拷贝
MFC 初始化 GDI+
1.在
stdafx.h
文件中在#include后面加#include//将GDI+头文件加入到工程中 #pragmacomment(lib,"gdiplus.lib")//将GDI+的lib文件加入到工程中
jiangqin115
·
2015-07-23 13:00
Windows下C语言查找文件例子
*目录下的所有文件名:效果如下图所示#include"
stdafx.h
"#include#include#include//errorcodefindandnotesintmain(intargc,char
zdhlwt2008
·
2015-07-22 21:00
c
atexit()函数来注册程序正常终止时被调用的函数
#include"
stdafx.h
" //很多时候,我们需要退出的时候做一些诸如资源释放的操作, //但程序退出的方式很多种,例如main()函数的结束,程序中的exit()程序 //atexit()函数来注册程序正常终止时被调用的函数
hiwoshixiaoyu
·
2015-07-22 20:00
C++
二叉排序树的插入与删除
#include"
stdafx.h
" #include usingn
u014568921
·
2015-07-21 10:00
数据结构
二叉树
彩色图像灰度化和图像二值化代码
#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;//声明图像IplImage指针IplImage*pSrcImg=
海角12345
·
2015-07-21 09:58
成员函数类型 成员函数指针
. // #include"
stdafx.h
" #include usingnamespacestd; /*********************************************
lee353086
·
2015-07-21 09:00
是否忘记了向源中添加“#include "
stdafx.h
是否忘记了向源中添加“#include "
stdafx.h
错误描述:fatalerrorC1010:在查找预编译头时遇到意外的文件结尾。是否忘记了向源中添加“#include"
stdafx.h
"”?
qqyuanhao163
·
2015-07-20 23:00
stdafx.h
C1010
变长参数模板
#include"
stdafx.h
" #include"stdarg.h" #include #include #include usingnamespacestd; /*************
lee353086
·
2015-07-20 22:00
判别二叉树是否为二叉排序树
#include"
stdafx.h
" #includ
u014568921
·
2015-07-19 22:00
二叉树
判断无向图G是否连通
判断无向图G是否连通#include"
stdafx.h
" #include #include usingnamespacestd; #defineN9 typedefstruct{ intvexnum
u014568921
·
2015-07-19 21:00
数据结构
C++ 不用临时变量交换两个变量的值——函数对象
#include "
stdafx.h
" #include #include #include #include #include #include #include #include
u013630349
·
2015-07-19 15:00
swap
中间变量
交换对象
图的深度优先搜索与广度优先搜索
无向图的深度优先搜索与广度优先搜索#include"
stdafx.h
" #include #include usingnamespacestd; #defineN9 typedefstruct{ intvexnum
u014568921
·
2015-07-19 14:00
图的遍历
按层次遍历二叉树
#include"
stdafx.h
" #include #include usingnamespacestd; structBiNOde { intele; BiNOde*lnode; BiNOde
u014568921
·
2015-07-16 22:00
数据结构
二叉树
交叉链表
链表的结点定义为:structListNode{ int m_nKey; ListNode* m_pNext;};#include"
stdafx.h
" #include #include usingnamespacestd
u014568921
·
2015-07-16 18:00
链表
C语言查找数组里数字重复次数的方法
具体如下:#include"
stdafx.h
"#include#includeusingnamespacestd;intmain(){intmyarray[10]={4,3,7,4,8,7,9,4,3,6
宋勇野
·
2015-07-16 11:54
_getch一段高复用代码
#include"
stdafx.h
" #include #include int_tmain(intargc,_TCHAR*argv[]) { system("title能否被2整除呢.按“T”键退出
RenKaidi
·
2015-07-16 08:00
getch
二元查找树转换成一个排序的双向链表
// #include"
stdafx.h
" #include usingnamespacestd; #defineINFINITY1000000 structBiNOde
u014568921
·
2015-07-15 23:00
数据结构
二叉树
C#调用C++方法,C#使用c++方法返回类或结构体
.// #include"
stdafx.h
" #defineEXPORT_DLLextern"C
yunhaiC
·
2015-07-15 16:00
二叉树宽度的计算
#include"
stdafx.h
" #include #include usingnamespacestd; structBiNOde { intele; BiNOde*lnode; BiNOde
u014568921
·
2015-07-15 04:00
二叉树
在WIN32 DLL中使用MFC
WIN32DLL,为了方便要用到MFC的一些库,又不想转工程,就网上找了很多方法,发现没有详细的介绍,有的也行不通,现在成功在WIN32DLL中使用了MFC,记录一下以防以后用到忘记 一、修改预编译头文件(
stdafx.h
phenixyf
·
2015-07-13 18:00
约瑟夫环问题
#include"
stdafx.h
" #include #include usingnamespacestd; template void
u014568921
·
2015-07-13 13:00
约瑟夫环
笔试
字符串操作
字符串反转#include"
stdafx.h
" #include usingnamespacestd; char*reverse_str(char*str); int_tmain(intargc,_TCHAR
u014568921
·
2015-07-12 12:00
c
笔试
C++ 函数指针
就是一块汇编代码的起始地址,jmpxxx.include“
stdafx.h
”include“iostream”usingnamespacestd;typedefint(*FP_CALC)(int,int
a379039233
·
2015-07-10 19:00
九度1514
// #include"
stdafx.h
" #include #include #include doublepower(doubledata,intnum){ intj; doubletmp=data
b5w2p0
·
2015-07-10 15:00
C++
BCG在程序中的使用
1.在
stdafx.h
文件中添加头文件#include2.在程序的APP中设置风格并cleanup,这里风格可以选择很多种,包括2003、2007、2010等。
djd已经存在
·
2015-07-09 17:54
C++学习
BCG在程序中的使用
1.在
stdafx.h
文件中添加头文件#include2.在程序的APP中设置风格并cleanup,这里风格可以选择很多种,包括2003、2007、2010等。
djd1234567
·
2015-07-09 17:00
BCG控件
双指针的两种用法
于是,从网上找资料,学习了一番…… 题目是这样的:[cpp] viewplaincopy#include "
stdafx.h
" #include using namespace std
qqyuanhao163
·
2015-07-09 14:00
指针
双指针
VS2013 中使用GDI+
新建对话框程序,在
stdafx.h
中添加:#include #pragmacomment(lib,"GdiPlus.lib") usingnamespaceGdiplus;在CxxApp类的InitInstance
a379039233
·
2015-07-09 09:00
GDI+
判断二叉树是不是平衡二叉树
// #include"
stdafx.h
" #include #include usingnamespacestd; structBiNOde { charel
u014568921
·
2015-07-08 23:00
二叉树
根据输入字符建树
. */ #include"
stdafx.h
" #include #include usingnamespacest
u014568921
·
2015-07-08 17:00
二叉树
判断IP地址是否有效
// #include"
stdafx.h
" #include usingnamespacestd; //IP的有效值是1.0.0.1~255.255.255.255 boolcheckIP(char*
u014568921
·
2015-07-07 23:00
笔试
链表排序、链表删除、访问倒数第k个节点
3.输出该链表中倒数第k个结点,tail为倒数第0个节点// #include"
stdafx.h
" #include usingnamespacestd; temp
u014568921
·
2015-07-07 13:00
链表
经典排序算法
#include"
stdafx.h
" #include
makeprogresszb
·
2015-07-06 21:00
排序
归并排序
插入排序
C++ ofstream和ifstream详细用法 及文件操作 导入到EXCEL
把数据写入到EXCEL文件中:#include"
stdafx.h
"#includeusingnamespacestd;#include#include//包含 exit(0)headfileintmain
zdhlwt2008
·
2015-07-06 15:00
C++
Win32api创建文件选择窗口
// #include"
stdafx.h
" #include #include #include #include #include//选择文件夹用到 //打开文件保存文件 #defineMAX_FILE_FOR_SEL20
puppet_master
·
2015-07-06 14:00
Win32
api
文件操作
文件对话框
对象引用前加const报错:不能将“this”指针从“const a”转换为“a
#include"
stdafx.h
"#includeusingnamespacestd;classa{inti;public:a(intj):i(j){}voidshow(){coutGetIt();/
dyf4281
·
2015-07-05 22:09
C++
上一页
85
86
87
88
89
90
91
92
下一页
按字母分类:
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
其他