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
关键路径(AOE)---《数据结构》严蔚敏
// #include"
stdafx.h
" #include #include usingnamespacestd; #defineMAXVEX20 typedefstructArcNode {
cjc211322
·
2014-08-04 11:00
AoE
关键路径
数据结构严蔚敏
拓扑排序(AOV)---判断图中是否有环---《数据结构》严蔚敏
// #include"
stdafx.h
" #include #include usingnamespacestd; #defineMAXVEX20 typedefstructArcNode {
cjc211322
·
2014-08-03 21:00
拓扑排序
aov
数据结构严蔚敏
判断图中是否有环
cin与getchar、scanf之间的区别
// #include"
stdafx.h
" #include usingnamespacestd; intmain(void) { charch; ch=getchar(); printf("%d
cjc211322
·
2014-08-03 20:00
AVL的构建(插入操作)---《数据结构》严蔚敏
//#include"
stdafx.h
"#includeusingnamespacestd;#defineLH-1#defineEH0#defineRH1typedefstructBSTNode{intdata
cjc雪狼
·
2014-08-03 19:28
算法/数据结构
AVL的构建(插入操作)---《数据结构》严蔚敏
// #include"
stdafx.h
" #include usingnamespacestd; #defineLH-1 #defineEH0 #defineRH1 typedefstructBSTNode
cjc211322
·
2014-08-03 19:00
kmp算法--求字符串子串--《数据结构》严蔚敏
// #include"
stdafx.h
" #include usingnamespacestd; voidget_next(int*&next,char*s) { intj=0; inti=1;
cjc211322
·
2014-08-03 12:00
hanoi塔问题
// #include"
stdafx.h
" #include #include usingnamespacestd; voidmove(charx,charz,intn) { staticintnum
cjc211322
·
2014-08-03 10:00
hanoi塔问题
表达式求值
// #include"
stdafx.h
" #include #include usingnamespacestd; intpriority(charop) { switch(op) { case'
cjc211322
·
2014-08-03 10:00
表达式求值
11/13位时间戳转化为标准时间
// #include"
stdafx.h
" #include #include intIsLeap(unsignedshortyear) { return((year%4==0)&&(year%100
makenothing
·
2014-08-02 23:00
OpenGL之绘点
画点的例子:#include"
stdafx.h
" #include #include //DefineaconstantforthevalueofPI #defineGL_PI3.1415f
美丽的小岛
·
2014-08-02 13:00
OpenGL
OpenCV 1 图像分割--分水岭算法代码
// #include"
stdafx.h
" // //ch9_watershedimage //Thisisanexactcopyofthewatershed.cppdemointheOpenCV
wangyaninglm
·
2014-08-02 00:00
第三章 数组和字符串
分析:本题核心在于如何把一个个单词区别出来,从题中信息可知,单词之间由空格隔开,因此使用scanf函数读入字符串刚好能把单词区分出来代码:#include"
stdafx.h
" #include"string.h
zzyafyj
·
2014-08-01 19:00
c
算法
字符串
数组
类模板template的使用!
#include"
stdafx.h
" #include #include #include #include usingnamespacestd; //类模板的使用 //类模板中类成员函数的申明与定义
taoerit
·
2014-08-01 19:00
C++
template
类模板
几个编译器内置的c++宏定义的使用例子
#include"
stdafx.h
"#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){cout<<"sizeof(wchar_t)="
zdleek
·
2014-08-01 16:55
技术知识
几个编译器内置的c++宏定义的使用例子
#include"
stdafx.h
" #include usingnamespacestd; int_tmain(intargc,_TCHAR*argv[]) { cout<<"sizeof(wchar_t
baodi_z
·
2014-08-01 16:00
C++
宏
C++类型转换个人总结(初稿)
. // #include"
stdafx.h
" #include usingnamespacestd; /**************************
loveRooney
·
2014-08-01 16:00
C++
sift开发记录2
方法一: 建立一个控制台应用程序代码如下: #include"
stdafx.h
" #include"highgui.h" #inc
zouwen198317
·
2014-08-01 15:00
lambda表达式初步
// #include"
stdafx.h
" #include #include #include usingnamespacestd; intmain() { //创建一个包含10个元素的集合对象
wangyaninglm
·
2014-08-01 10:00
模板设计策略
// #include"
stdafx.h
" #include #include usingnamespacestd; template structopNewCreator { staticT*Create
dai_jing
·
2014-07-31 11:00
C++
tinyxml的用法和实例
代码如下:#include"
stdafx.h
" #include"targetver.h"
u011729265
·
2014-07-31 06:00
C++
xml
数据解析
tinyxml
C++中 vector结合迭代器实现增删操作!
2实现代码#include"
stdafx.h
" #include #include #include usingnamespacestd; classTest { public: Test(boolisdel
taoerit
·
2014-07-30 20:00
vector
iterator
迭代器
ACE 多线TCP服务端-客户端通信
所有代码在ACE框架中实现:下面是服务器端的代码#include"
stdafx.h
" #include"ace/SOCK_Acceptor.h" #includ
j_akill
·
2014-07-30 20:00
线程
tcp
通信
服务器
TCP文件传输(一)
自己查了半天也没搞清楚,导致花了一个下午时间就只实现了文件名和文件长度的发送,首先给出文件传输的客户端和服务器端代码:一、客户端相关头文件定义:1)WinsockCom组件初始化和释放#include"
stdafx.h
loveRooney
·
2014-07-30 17:00
网络
迷宫问题
// #include"
stdafx.h
" #include #include usingnamespacestd; intmaze[10][10]={ {1,1,1,1,1,1,1,1,1,1},
cjc211322
·
2014-07-30 11:00
迷宫路径问题
数制转换
// #include"
stdafx.h
" #include #include usingnamespacestd; voidconversion(intn) { couts; while(n!
cjc211322
·
2014-07-30 10:00
数制转化
求集合的幂
// #include"
stdafx.h
" #include #include usingnamespacestd; voidprint_set(vectors,intnum) { cout::iteratorit
cjc211322
·
2014-07-30 09:00
求集合的幂
《数据结构》--严蔚敏 静态链表排序 p270
// #include"
stdafx.h
" #include #include usingnamespacestd; typedefstruct { intdata; intindex; }ELEM
cjc211322
·
2014-07-30 09:00
静态链表排序
c++时间增加
//#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;voidSplitSpring(conststring
584851044
·
2014-07-29 18:17
C++
时间
c++时间增加
//#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;voidSplitSpring(conststring
584851044
·
2014-07-29 18:17
c++
时间
C++
C++ GDI+环境的初始化
注:如果包含后出现编译错误,那么看看
stdafx.h
中有没有定义WIN32_LEAN_AND_MEAN,有的话注释掉就OK【1】添加文件头与库#include usingnamespaceGdiplus
aoshilang2249
·
2014-07-28 12:00
图像处理
GDI+
排序算法总结---代码+性能
//#include"
stdafx.h
"#include"sort_alg.h"#include#includevoidshow(std::vector&a){std::vector::iteratorit
cjc雪狼
·
2014-07-27 20:35
算法/数据结构
排序算法总结---代码+性能
// #include"
stdafx.h
" #include"sort_alg.h" #include #include voidshow(std::vector&a) { std::vector:
cjc211322
·
2014-07-27 20:00
排序算法总结
代码+性能
MFC命令消息路由过程(视图、框架、应用)
一、环境IDE:VC6.0OS:WindowsXp二、编写测试代码和环境配置新建一个Win32Application选择“ASimpleWin32Application”打开
stdafx.h
头文件把#include
eldn__
·
2014-07-26 17:00
STL字节对齐分配策略
// #include"
stdafx.h
" #include #include usingnamespacestd;
dai_jing
·
2014-07-25 14:00
C++
C++常见错误大全
答案是:#include "
stdafx.h
"没放在代码最开头!!!
stdafx.h
知识简单
zb872676223
·
2014-07-25 10:00
boost.iostatesaver,IO流的状态保存恢复机
//iostatesaver状态保存机#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;voidtest_iossaver
davidsu33
·
2014-07-24 10:00
boost
OpenCV 平均背景法 背景分割
三个源文件:第一个:main.cpp#include"
stdafx.h
"#include"cv.h"#include"highgui.h"#include"cxcore.h"#include
kaka20080622
·
2014-07-23 21:00
算法之——开平方算法
这些符号以及下标使用计算机打出来对我来说还是比较吃力的,干脆来张手写吧哈哈,字迹比较丑,可以参考百度百科求解思路:#include"
stdafx.h
"#include#includeusingnamespacestd
jff316948714
·
2014-07-23 17:20
算法
VS中遇到 _WIN32_WINNT not defined
WIN32_WINNTnotdefined.Defaultingto_WIN32_WINNT_MAXVER(seeWinSDKVer.h)解决办法:#define_WIN32_WINNT0x0502在
stdafx.h
whatday
·
2014-07-23 14:00
C/C++--set排序
// #include"
stdafx.h
" #include #include #include structTest { std::stringname; intage; }; classCustomSort
zlQQhs
·
2014-07-22 14:00
C++
排序
set
结构体
operator
再测JAVA性能比C/C++好问题
更别说用INTELC/C++8.0了》 一贴,感觉测试算法比较有意义,上测试源代码#include"
stdafx.h
" #include #include boolisPrime(longi) {
luozhuang
·
2014-07-22 09:00
java
C++
性能
MFC消息映射机制
这里我的工程名为:MFCMsg设置环境:Project->Settings->MicroSoftFoundationClasses:(UseMFCinaStaticLibrary)编写分析测试代码:来到
StdAfx.h
eldn__
·
2014-07-21 19:00
c++ 简单模拟实现 游戏定时开启任务
// #include"
stdafx.h
" #include #include #include #include #include #include #include usingnamespacestd
dai_jing
·
2014-07-19 16:00
C++
c++ 获取两个标准日期之间相差的秒数
// #include"
stdafx.h
" #include #include #include #include usingnamespacestd; clas
dai_jing
·
2014-07-19 14:00
C++
汉诺塔
//#include "
stdafx.h
" //定义最大盘子编号 #define N 6 struct pan{ int num; char pos; }; int count = 0;
emrys_li
·
2014-07-18 15:03
算法
汉诺塔
[c++11] 判断 类内是否有指定名字的 字段/成员函数/静态函数/typedef
和一些萃取类,这次就没办法用变通的方式放到低版本去了注意,对于成员函数或静态函数,如果有重载比如a()a(int)反而会得到0的结果后面提供了一种验证语法可行性的方法,可以解决重载问题#include"
stdafx.h
superzmy
·
2014-07-18 10:00
类
C++11
type_traits
[c++] 判断类下是否有某个指定类型及名称的字段
#include"
stdafx.h
"#include#includetemplatestructIndexedTWrap{ typedefTtype; staticTgettype(); enum{
superzmy
·
2014-07-18 09:00
C++
类
C++11
type_traits
[c++11] 判断类内是否有typedef某个名字的类型成员
#include"
stdafx.h
"#include#includetemplatestructIndexedTWrap{ typedefTtype; staticTgettype(); enum{
superzmy
·
2014-07-18 08:00
C++
typedef
C++11
VC 连接MySQL数据库
----------------------------------------------------------------------------1.导入msado15.dll#include"
stdafx.h
friendan
·
2014-07-17 21:00
mysql
数据库
VC
驱动
ADO
gdi和direct截屏
// #include"
stdafx.h
" #include"TTTest.h" #include LPVOIDscreenCaptureData=NULL; HBITMAPhBitmap; HDCh
xxq123321
·
2014-07-17 11:00
上一页
97
98
99
100
101
102
103
104
下一页
按字母分类:
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
其他