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
字符串左移代码
// #include"
stdafx.h
" #include"string.h" char*invert(char*start,char*end) { chartmp,*ptmp=start;
wangyaninglm
·
2014-09-25 10:00
windows测试组播RTP丢包
//#include "
stdafx.h
"#include#include #pragma comment(lib,"ws2_32.lib")#include#include using
fengyuzaitu
·
2014-09-24 17:28
windows
return
include
comment
数据包
C++智能指针循环引用解决
循环引用示例#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;usingnamespaceboost;classCCycleRef
W1552332103
·
2014-09-24 16:00
C++
循环引用
智能指针
mfc GDI+ 使用 一
一、、在vs中 使用gdi+ 简单的对话框程序为例1、创建一简单对话框 2、在
StdAfx.h
头文件添加gdi+头文件及库
studypower
·
2014-09-24 14:00
mfc
vc++
GDI+
“右值引用”的补充说明
#include"
stdafx.h
" #include #include /* Title:“右值引用”的补充说明 Env:VS2013Update3 Author:Kaugla!
lee353086
·
2014-09-24 11:00
OpenMP之数值积分(求圆周率Pi)(sections)
//求圆周率PI #include"
stdafx.h
" #include #include #include #include usingnamespacestd; staticlongnum_steps
he_xiang_
·
2014-09-24 11:00
OpenMP之求和(用section分块完成)
功能:; //1.指定其内部的代码划分给线程中某个线程,不同的section由不同的线程执行; //2.将一个任务划分成独立的几个section,且section之间是并行执行的; #include"
stdafx.h
he_xiang_
·
2014-09-24 11:00
openmp
vc打开pdf入门(一)
环境:win7,64位,vs2008,AdobeAcrobat9Pro代码:1.新建一mfc对话框,在Ctest0915App::InitInstance()添加CoInitialize(NULL);在
stdafx.h
dragoo1
·
2014-09-24 10:00
入门
pdf
VC
CAcroAppPtr
AcroExch.App
C++ 分离字符串里的大小写,数字,符号
要求:1分离字符串里的大小写,数字,符号代码如下:#include"
stdafx.h
" #include #include #include #include #include #include usingnamespacestd
taoerit
·
2014-09-23 18:00
C++
字符串分割
boost.lambda
//boost.lambda表达式用法 //madebydavidsu33 //2014-9-22 #include"
stdafx.h
" #include #include #include #include
davidsu33
·
2014-09-22 23:00
boost.lambda
boost.core.enable_if
//madebydavidsu33 //boost.core.enable_if #include"
stdafx.h
" #include #include template structTest
davidsu33
·
2014-09-21 21:00
boost.enable_if
记事本
今天查找资料的时候发现了我曾经做的一个记事本首先打开VC6.0并且建立一个Win32工程,搭建成下图所示的图形界面然后在MainDlg.cpp文件中添加下面的代码#include"
stdafx.h
" #
u010105970
·
2014-09-21 15:00
c++ 面向对象基础Test——继承、重载、slice赋值
. // #include"
stdafx.h
" #include #include #definePTLN(str)std::coutfun0(); f1->fun(); PTLN(1)//-
sonikk
·
2014-09-19 22:00
C++
测试lambda的使用
. // #include"
stdafx.h
" #include #include #include #include//使用std::function必须包含这个头文件 usingnamespacestd
lee353086
·
2014-09-18 17:00
c++ 位操作实现数据标志位获取与更新
#include"
stdafx.h
" #include usingnamespacestd; intget_state(int&value,intindex) { if((1=0;i--) { cout
dai_jing
·
2014-09-16 17:00
C++
位操作
std::map容器序列化、反序列化测试
. // #include"
stdafx.h
" #include #include #include #include #include #include #include //XMLarchivewhichuseswidecharacters
lee353086
·
2014-09-16 09:00
Active Object模式
. // #include"
stdafx.h
" #include #include classCommand { public: virtualvoidexec()=0; }
zj510
·
2014-09-15 14:00
图片像素对比OpenCV实现,实现人工分割跟算法分割图像结果的对比
// #include"
stdafx.h
" #include #include #include
wangyaninglm
·
2014-09-14 23:00
boost.multi_array学习-子视图用法(3)
//madebydavidsu33//2014-9-1411:51#include"
stdafx.h
"#include#include#include#include#include#include#include
davidsu33
·
2014-09-14 16:05
boost
boost.multi_array学习-子视图用法(3)
//madebydavidsu33 //2014-9-1411:51 #include"
stdafx.h
" #include #include #include #include #include
davidsu33
·
2014-09-14 16:00
boost.multi_array 的基本用法(2)
//madebydavidsu33//2014-9-1411:51#include"
stdafx.h
"#include#include#include#include#include#include#include
davidsu33
·
2014-09-14 11:13
boost
boost.multi_array 的基本用法(2)
//madebydavidsu33 //2014-9-1411:51 #include"
stdafx.h
" #include #include #include #include #include
davidsu33
·
2014-09-14 11:00
boost
multi_array
2015年校招--华为上机笔试题--去重复单词
#include"
stdafx.h
" #include #include #include usingnamespacestd; intmain() { sets; charbuf[1000]={0}
cjc211322
·
2014-09-13 22:00
2015年校招
华为上机笔试题
去重复单词
2015年校招--华为上机笔试题--大数相乘
#include"
stdafx.h
"#include#includeusingnamespacestd;voidadd(string&sum,stringtemp){intlen1=sum.size()
cjc雪狼
·
2014-09-13 21:55
算法/数据结构
2015年校招--华为上机笔试题--大数相乘
#include"
stdafx.h
" #include #include usingnamespacestd; voidadd(string&sum,stringtemp) { intlen1=sum.size
cjc211322
·
2014-09-13 21:00
大数相乘
2015年校招
华为上机笔试题
Windows编程基础 第十五章 线程局部存储 线程同步 原子锁 临界区 事件 互斥量 信号量 可等候定时器
//TLS线程局部存储的函数实现//#include"
stdafx.h
"#include"windows.h"#include"tchar.h"#include"locale.h"TCHAR*g_pszText
yangxuefeng09
·
2014-09-13 21:11
WIN32复习和学习笔记
string的查找字符串操作
// #include"
stdafx.h
zengraoli
·
2014-09-12 09:00
stringstream、fprintf
stringstream是c++的一个字符串操作的classfprintf是c的一个打开文件后,往文件中写入字符的函数(同样的还有printf,sprintf)#include"
stdafx.h
" #include"iostream
zengraoli
·
2014-09-12 09:00
数据结构之 二叉树的构造与遍历(先序,中序,后序,层次)
// #include"
stdafx.h
" #include #definemaxSize10 usingnamespacestd; typedefstructBinaryTreeNode { chardata
小竹zz
·
2014-09-10 12:00
数据结构之 链栈的实现
#include"
stdafx.h
" #include"malloc.h" #definemaxSize100 typedefstructLNode { intdata; structLNode*next
小竹zz
·
2014-09-10 12:00
数据结构之 直接插入排序
#include"
stdafx.h
" voidInsertSort(intR[],intn) { inti,j; inttemp; for(i=2;i=1) { R[j+1]=R[
小竹zz
·
2014-09-10 12:00
选择排序
#include"
stdafx.h
" #include #include usingnamespacestd; voidShow(vectorvalues) { for(autovalue:values
aqtata
·
2014-09-09 20:00
整数数组排序--各个元素拼接所得结果最小
总之将相邻的两个数m、n进行比较大小的方法修改为mn和nm比较大小即可#include"
stdafx.h
" #include #include #include #include usingnamespacestd
cjc211322
·
2014-09-09 15:00
C语言文件操作函数
先看代码#include"
stdafx.h
" #include #include #include usingnamespacestd; longlenOfFile(FILE*f) { longcurpos
cjc211322
·
2014-09-09 11:00
C语言文件操作函数
相对路径生成绝对路径
#include"
stdafx.h
" #include #include #include usingnamespacestd; voidgetWord(char*src,stack&s) { stringstr
cjc211322
·
2014-09-09 10:00
相对路径生成绝对路径
《编程之美》4.10数字哑谜和回文
相对简单的一种解法#include"
stdafx.h
" #include usingnamespacestd; voidfindNum(bool*used,intindex,longsum) { if
cjc211322
·
2014-09-08 16:00
编程之美4.10数字哑谜和回文
C++小细节(不定期整理 )
例:#include"
stdafx.h
" #include #include //#include usingnamespacestd; intmain(
eclipse_c
·
2014-09-06 21:00
C++
opencv读写视频,对感兴趣区域进行裁剪
#include"
stdafx.h
"#include"opencv2/opencv.hpp"#include#includeusingnamespacestd;usingnamespacecv;intmain
何雷
·
2014-09-05 20:23
Opencv
C/C++
opencv读写视频,对感兴趣区域进行裁剪
#include"
stdafx.h
" #include"opencv2/opencv.hpp" #include #include usingnamespacestd; usingnamespacecv
helei001
·
2014-09-05 20:00
opencv
ROI
VideoWriter
链表的k子段逆转
题目:原链表为1->2->3->4->5->6->7k=3的子段逆转结果为3->2->1->6->5->4->7code:关键点首子段要记录整个链表的头指针,记录相邻两字段的尾节点#include"
stdafx.h
cjc211322
·
2014-09-05 10:00
链表的k子段逆转
COM线程模型 - MTA接口 (运行线程)
. // #include"
stdafx.h
" #include
zj510
·
2014-09-04 15:00
掷骰子问题
#include"
stdafx.h
" #include #include #include usingnamespacestd; voidnum_cnt(intoffset,int*cnt,intnum
cjc211322
·
2014-09-04 15:00
掷骰子问题
COM线程模型 - MTA接口 (STA套间调用MTA对象)
. // #include"
stdafx.h
" #include #include #include"../MyCOM/MyCOM_i.h" #include"..
zj510
·
2014-09-04 15:00
C++通过JVM调用jar包
#include"jni.h" #include"windows.h" #include"
stdafx.h
" typedefjint(WINAPI*_CreateJavaVM)(JavaVM**,void
davidsu33
·
2014-09-03 15:00
jvm
C++
jar
C++ 中如何设计 final 类
该关键字专门用于禁止类继承的功能,而在以往的C++中却没有此关键字(据说最新的C++规范增加了此关键字,但还未普及),在acl_cpp库中通过模板方式设计了final类的功能,下面是一个例子: #include"
stdafx.h
郑树新
·
2014-09-03 12:00
C++
应用
acl_cpp
禁止类继承
字符串全排列
将字符串abc进行全排列#include"
stdafx.h
" #include #include usingnamespacestd; voidcSwap(char*str,intm,intn) {
cjc211322
·
2014-09-03 09:00
字符串全排列
二叉树路径和
#include"
stdafx.h
" #include #include usingnamespacestd; #defineA16 //二叉树前序遍历序列 intbuffer[16]={1,2,4
cjc211322
·
2014-09-02 21:00
二叉树路径值求和
打印二叉树路径
顺时针打印旋转打印矩阵
#include"
stdafx.h
" #include usingnamespacestd; voidloopShow(ints[][6],intm,intn) { intmin_i=0,max_i
cjc211322
·
2014-09-02 20:00
顺时针打印旋转打印矩阵
vs2010添加库文件的方法
vs2010中加入附加库的方法总结:法一:1、直接在某个头文件(例如:
stdafx.h
)中使用#pragmacomment(lib,"库文件名")的方法 。
zhangjikuan
·
2014-09-02 19:00
打印n长度为n的所有数字
#include"
stdafx.h
" #include usingnamespacestd; voidrshow(char*buf,intlen,intindex) { if(index==len)
cjc211322
·
2014-09-02 18:00
打印n位长度的所有整数
上一页
95
96
97
98
99
100
101
102
下一页
按字母分类:
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
其他