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
opencv目标跟踪:二帧差法(批量读取视频帧)(转)
//#include"
stdAfx.h
"#include<opencv2/core/core.hpp>#include&...
zhang43211234
·
2020-09-13 14:25
背景建模--运动物体检测
opencv帧差法、中值滤波与二值化
#include"
stdafx.h
"#include#include#include#include#include#include#include
Miss小女人
·
2020-09-13 14:15
opencv
定义了头文件,但是声明变量的时候还是出现C2065:未声明的标识符
解决方法:1、将#include"
StdAfx.h
"置于CPP文件最开头2、有可能是由于中文编码问题引起的,则需要将该文件的编码格式设置为设置方法文件-高级保存选项vs2015/vs2017需要自己在工具
孤独的coding
·
2020-09-13 14:13
C++
opencv 帧差法找出相差大的图像(包含访问mat的像素值)
#include"
stdafx.h
"#include#include#include#include#include#include#include#include#include#include#defineIMAGENO18456usingnamespacestd
amulet0703
·
2020-09-13 14:42
C
+
OpenCV
C++ ofstream和ifstream详细用法 及文件操作 导入到EXCEL
把数据写入到EXCEL文件中:#include"
stdafx.h
"#includeusingnamespacestd;#include#include//包含exit(0)headfileintmain
Walter_lee2008
·
2020-09-13 14:08
CPlusPlus
C++求解汉字字符串的最长公共子序列 动态规划
代码例如以下:#include"
stdafx.h
"#include#defineN1000usingnamespacestd;//str1存储字符串1
weixin_30872157
·
2020-09-13 13:07
[C++]学习字符串最长公共子序列(非连续)算法
测试代码#include"
stdafx.h
"#include#include#include#include#includeusingstd::cin;usingstd::cout;usingstd::
HiveDark
·
2020-09-13 13:33
C++
算法随记
最长公共子串
C++传递对象函数指针作为参数
//#include"
stdafx.h
"#include#includeusingnamespacestd;intfun1(chararg1){coutvoidTestClassMemberFunction
遠蜀黍
·
2020-09-13 12:32
C++
or
stl
or
boost
codes代码片段
笔试面试之 最大和子矩阵
#include"
stdafx.h
"#includeusingnamespacestd;#defineMIN-10000int**a;intsum;char*str;intmax_array(int*a
Not_Plain
·
2020-09-13 11:16
面试
matrix
delete
求字符串最长对称字符串的长度(转何海涛博客)
自己实现的代码:#include"
stdafx.h
"#include"stdio.h"#include"string.h"intget_maxlen(char*str){char*current=str
Zhangjay
·
2020-09-13 10:18
C/C++实现
数据结构和算法
C++对称字符串的最大长度
//#include"
stdafx.h
"#includeintgetMaxLen(char*str){intntempLen=0;intnmaxLen=0;inti=0;while(s
仓Rainy
·
2020-09-13 10:15
C++/C指针
基于OTSU算法和基本粒子群优化算法的双阈值图像分割
经过联合算法优化的双阈值为90,140将背景像素置0:效果图:利用所取得的阈值就可以将图像背景和目标区分开来,利用所得阈值二值化后效果图:通过效果图可知将人这个目标从背景中分割出来了源代码:#include"
stdafx.h
qinjianganying
·
2020-09-13 10:54
机器视觉
算法
优化
float
null
c
C++修改电脑主机名、IP地址、掩码地址
//#include"
stdafx.h
"#include#include
wangtong01
·
2020-09-13 09:32
c++
运维
c++
用*和空格输出一个边长为五个*的空心菱形--C语言
/*****************为输出结果*/#include"
stdafx.h
"intmain(intargc,char*argv[]){inti,j;for(i=1;i=2)printf("*"
张墩墩儿ॱଳ͘
·
2020-09-13 08:45
vector 转换为 int*
//#include"
stdafx.h
"#include#includevoidShowIntArray(int*p,intnSize){if(NULL==p||nSizevtInt;vtInta;for
嘻嘻宝贝
·
2020-09-13 08:40
c/c++
opencv 实践程序2——背景差分法实现前景识别
#include//#include"
stdafx.h
"#include#include#include#include#include"cvaux.h"#include"cxmisc.h"usingnamespacestd
鼬花园
·
2020-09-13 08:16
程序实践
OpenCV
Mysql 一次性执行多条语句的实现
#include"
stdafx.h
"#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){MYSQLmysql;mysql_init
祝云飞
·
2020-09-13 07:50
mysql
C 调试代码
//#include"
stdafx.h
"#include#include#include#include#include"FileTest.h"//#include"FileTest.cpp"typedefenum
xuehui869
·
2020-09-13 07:40
DirectShow 的简单例子
//#include"
stdafx.h
"#include#pragmacomment(lib,"strmiids.lib")int_tmain(intargc,_TCHAR*argv[]){IGraphBuilder
vingo888
·
2020-09-13 06:01
自斧之楥
求二叉树中每一个节点对应的层次
转载自:http://wenku.baidu.com/view/b9c8c4115f0e7cd1842536da.html#include"
stdafx.h
"#includeusingnamespacestd
biange2019
·
2020-09-13 06:32
数据结构
OpenCV提取显示一张图片的R,G,B颜色分量调试记录
//#include"
stdafx.h
"#include"cv.h"#include"highgui.h"//#include#include#include#pragma
arm_xuli
·
2020-09-13 06:03
opencv
SMTP协议发送邮件和附件
//#include"
stdafx.h
"#include#include#include#include#include"base64.h"#pragmacomment(lib,"ws2_32.lib"
fice1989
·
2020-09-13 05:53
工具栏、状态栏创建代码
//#include"
stdafx.h
"#include"工具栏学习.h"#include"Resource.h"#defineMAX_LOADSTRING100#include"CommCtrl.h"
小小玮
·
2020-09-13 05:26
win32
SDK
win32实现工具栏和状态栏
RabbitMQ C 客户端 超简单接收发送json接口-最近更新2019-03-24
接口超简单,只有发送和接受两个接口,json格式C++版本参考地址#include"
stdafx.h
"#include"messagequeue/rabbitmqc.h"#include#includevoidsend_message
CalmReason
·
2020-09-13 05:35
RabbitMQ
VC编译错误总结
解决方法:其一,即可含正确路径的#include"
stdafx.h
";其二,project-setting-sourcefiles-C/C++-category-precompiledheader-n
lestat
·
2020-09-13 04:39
C/CPP
语言
vc 操作excel
1:导入excel.h和excel.cpp(可以从系统中找出的)2:在当前文件夹中加头文件#include"excel.h"3:在
StdAfx.h
中加入#import"C:\ProgramFiles\CommonFiles
吴安
·
2020-09-13 03:14
vc
mfc
VC++操作注册表(创建,读取,更改,删除)
#include"
stdafx.h
"#include#includeusingnamespacestd;/************************************@Brief:打开注册表
码农code之路
·
2020-09-13 03:39
MFC/VC++
win32 ReadFileEx 异步方式 读文件
//#include"
stdafx.h
"#inc
wowocpp
·
2020-09-13 03:08
win32-api
Windows Api函数学习利用CreatFile和ReadFile将自身完整输出
也可以利用该函数进行拷贝文本文件,实际读取字节要比定义的结构体小一字节,否则会没有结束标志哦#include"
stdafx.h
"#include#include"iostream"usingnamespacestd
Gave_Ge
·
2020-09-13 03:08
API
crypto++编程
1.AES举例#include"
stdafx.h
"#includeusingnamespacestd;#includeusingnamespaceCryptoPP;intmain(){//AES中使用的固定参数是以类
Tianyu-liu
·
2020-09-13 03:01
加密
异步读写(ReadFileEx和ReadFile)之overlapped
#include"
stdafx.h
"#include#includeusingnamespacestd;#definePAGE_SIZE0x1000voidSub_1();//ReadFile异步操作voidSub
weixin_34087307
·
2020-09-13 03:28
CryptoAPI 学习
``````````````````````````````实验9`````````````````````````````CALG_AES_128但是发现好像加密解密出来不对的感觉#include"
stdafx.h
weixin_30270561
·
2020-09-13 03:51
通过CreateFile来读取磁盘扇区的方法
测试程序包括两个测试方法,以#defineSECTOR开关进行相应的程序段测试,程序在XP+vc6环境下测试通过,程序如下:#include"
stdafx.h
"/*-------------------
snz
·
2020-09-13 02:55
c/c++/MFC/API
基于OPENCV3.3图像拼接
#include"
stdafx.h
"#include#include#include"imgproc/imgproc.hpp"#include#include"opencv2/xfeatures2d/nonfree.hpp
亨格瑞
·
2020-09-13 02:40
OPENCV
OPENCV
程序员面试中的几种典型排序方法
包括:插入排序、选择排序、交换排序、归并排序、希尔排序、堆排序、快速排序//程序猴2013.6.24#include"
stdafx.h
"//直接插入排序,思想:保证前面0~i-1共i个元素已经排序,将A
jingchengsuoz
·
2020-09-13 01:52
数据结构与算法
字符串的所有可能组合输出
//程序猴6.28#include"
stdafx.h
"#includeusingnamespacestd;voidComb(char*pStr,intnum,vector&result);voidCombination
jingchengsuoz
·
2020-09-13 01:52
数据结构与算法
输出数组的全排列方法
//程序猴6.27#include"
stdafx.h
"templatevoidSwap(T&A,T&B){TTmp=A;A=B;B=Tmp;}//判重复元素函数,如果第[Begin,End)之间有元素和第
jingchengsuoz
·
2020-09-13 01:52
数据结构与算法
非递归遍历二叉树
//#include"
stdafx.h
"#include#includeusingnamespacestd;structBTree{intm_nValue;structBTree*m_pLeft,*m_pRight
jingchengsuoz
·
2020-09-13 01:51
数据结构与算法
面试题
在O(n)时间内找出最小的k个元素
思想:1.用大头堆实现2.类似快速排序实现1.用大头堆实现《程序员面试一百题》解法2.类似快速排序实现//程序猴#include"
stdafx.h
"#include#include#include#include
jingchengsuoz
·
2020-09-13 01:51
数据结构与算法
获取指定IP的MAC地址
#include"
stdafx.h
"#include#include#pragmacomment(lib,"IpHlpApi.lib")#pragmacomment(lib,"WS2_32.lib")intmain
jiazhen.
·
2020-09-13 01:20
win32 ReadFile 读文件到最后 (异步方式)
msdn.microsoft.com/en-us/library/windows/desktop/aa365690(v=vs.85).aspxVS2010建立一个console工程,设置编码格式为:代码如下:#include"
stdafx.h
wowocpp
·
2020-09-13 00:04
win32-api
USB 收发数据
////#include"
stdafx.h
"#include"USBFunc.h"#ifdef_DEBUG#undefTHIS_FILEstaticcharTHIS_FILE[]=__FILE__;#definenewDEBUG_NEW
Simons(1075271250@qq
·
2020-09-13 00:45
计算机图形学(2)——OpenGL几何变换
#include"
stdafx.h
"#includevoidinit(void){glClearColor(1.0,1.0,1.0,1.0);glMatrixMode(GL_PROJECTION);gluOrtho2D
you_hao_zi
·
2020-09-13 00:16
OpenGL -显示摄像头抓取图片
//#include"
stdafx.h
"#include"FlyCapture2.h"#include#include"glew.h"#include"wglew.h"#include"glut.h"#
George_Fal
·
2020-09-12 23:48
[OpenGL]OpenGL中的三维变换
#include"
stdafx.h
"#include#inc
Joea_pang
·
2020-09-12 23:51
OpenGL
SkinMagic 进行皮肤设置 (SkinMagic使用教程)
[准备工作]1、将SkinMagicTrial.dll放置在调试目录2、设置库文件目录,在项目[连接器]的[附加依赖项]中加入库SkinMagicTrial.lib3、在项目的
stdafx.h
文件中加入头文件
FlyingTiger_Sun
·
2020-09-12 23:58
C primer plus 第四章字符串和格式化输入输出 个人编程练习
#include"
stdafx.h
"#include#include#include#includeintmain(){voidfun_1();//1,提示用户输入姓名,然后以“名,姓输出”voidfun
枯萎行者
·
2020-09-12 22:36
C
primer
plus
第六版
编程练习
)RGB排序,一个字符串,里面只有三种字符R G B,所有的R都在G的前面,所有的G都在B的前面。将给定字符串按照此规律排序。要求不允许用辅助空间,复杂度控制在O(N)。遍历一遍就排好序。
#include"
stdafx.h
"#include"stdlib.h"#include#include#include#includeusingnamespacestd;//算法中谈到了怎样不增加任何空间
Mitnickl
·
2020-09-12 22:40
算法
对象指针的用法
//#include"
stdafx.h
"#include#includeusingnamespacestd;//下面先定义一个类classhaitao{private:intagee;public:intgetAgee
海涛高软
·
2020-09-12 21:58
C++基础
算法笔记:BFS与DFS 书上给的BFS,现在对BFS进行改写为DFS
voidBFS_dfs(intstep,intx,inty)此函数是bfs改为dfs的函数:#include"
stdafx.h
"#include#i
lxie0
·
2020-09-12 21:53
C/C++
算法
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
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
其他