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
字符串复制strncpy
1#include"
stdafx.h
"2#include"iostream"3#include"assert.h"45usingnamespacestd;67char*mystrncpy(char*dest
weixin_30363817
·
2020-07-28 16:20
OpenGL OpenCV根据视差图重建三维信息
//#include"
stdafx.h
"//Huang,HaiqiaocodedonDec.2009代码出处://http://www.opencv.org.cn/forum.php?
shiter
·
2020-07-28 15:14
OpenGL
OpenCV
立体视觉
立体匹配
数据库(sql server)使用及其中遇到的问题
由于项目需要,需要在windows平台上连接sqlserver,于是就学了一下,在其中遇到了一些问题,现在自己总结一下.总结如下:首先,我们需要连接数据库:#include"
stdafx.h
"#include
wan13141
·
2020-07-28 15:37
数据库
C++之再谈构造函数
#include"
stdafx.h
"#includeusingnamespacestd;classCstudent{public:Cstudent(){coutusingnamespacestd;classCstudent
bluewind1230
·
2020-07-28 15:54
C++学习 对象模型之 this指针
多继承和多态的this指针调整#include"
stdafx.h
"#include#include#includeusingn
钢刚
·
2020-07-28 14:39
C++学习
c++
原子操作atomic
//#include"
stdafx.h
"#include#include#includeusingnamespacestd;//atomicN=0;intN=0;voidthread
申小远
·
2020-07-28 14:24
C++并发
MFC CTreeCtrl 设置每一项Item颜色
yings3.重载树控件#defineCTreeCtrlCTreeCtrlXX,CTreeCtrl也有了SetItemColor代码如下:.cpp//TreeCtrlXX.cpp:实现文件//#include"
stdafx.h
liuke804
·
2020-07-28 13:02
开发经验
winapi 锁定程序到任务栏 c++
#include"
stdafx.h
"#include#include#include#include#defineIF_FAILED_OR_NULL_BREAK(rv,ptr)\{if(FAILED(rv
木头菇
·
2020-07-28 11:41
零散记忆
taskbar
shell
c++
C++ 获取文件版本号的代码
//#include"
stdafx.h
"#include#include#include#include#pragmacomment(lib,"version.lib")usingnamespacestd
翼之痕
·
2020-07-28 11:42
C++
基于 SDK 的对话框程序框架
转自:刘振华的博客http://liuzhenhua.bokee.com/842168.html#include"
stdafx.h
"#include"resource.h"#include#includeHICONhIcon
sleeper1982
·
2020-07-28 11:10
WIN32_API_SDK
框架
callback
dialog
command
null
算法实现(3)二分搜索技术
具体算法用c语言实现的代码:#include"
stdafx.h
"//a[]是一个已经排好序的数组,x是需要查找的数
quentain
·
2020-07-28 10:00
算法程序设计
基于MFC对话框程序实现文件的打开、读取、写入操作
这是在对话框程序的pointscloud622Dlg.cpp文件中,开头应该包含这些头文件#include"
stdafx.h
"#include#include"pointscloud622.h"#include"pointscloud622Dlg.h
精忠报国v5
·
2020-07-28 09:29
C++
ch6
#include"
stdafx.h
"#include#include#includeusingnamespacestd;//定义名字的值classValue{public:doublesum;intcount
安东可
·
2020-07-28 07:15
c++中string的几种赋值方法
在C++中把字符串封装成了一种数据类型string,可以直接声明变量并进行赋值等操作c++可以赋一个比现有字符更长的字符串而C不可以#include"
stdafx.h
"#include#include#
董国政
·
2020-07-28 07:58
C++
C++创建一个抽象数据类型
#include"
stdafx.h
"#includeusingnamespacestd;classPoint3d{public:Point3d(floatx=0.0,floaty=0.0,floatz=
leyou2018
·
2020-07-28 07:29
C++
C++ 普通宏函数与前置处理宏 使用示例
#include"
stdafx.h
"typedefstructpoint3d{floatx;floaty;floatz;}Point3d;//宏函数#defineX(p,xValue)(p.x)=xValue
leyou2018
·
2020-07-28 07:29
C++
MFC树形控件(Tree Control)用法实例:增加节点、删除节点、改变结点名
//树形控件Dlg.cpp:实现文件//#include"
stdafx.h
"#include"树形控件.h"#include"树形控件Dlg.h"#include"afxdialogex.h"#ifdef_DEBUG
mikasoi
·
2020-07-28 03:05
MFC
Native C++ via CLR/C++到C#(二)
#include"
stdafx.h
"#include"CSample_
奔跑的Levi
·
2020-07-28 03:38
算法研发
std::shared_ptr所管理对象的析构问题
直接上代码:#include"
stdafx.h
"#includeclassBase{//没有虚析构函数};classDerived:publicBase{public:Derived()=default
luchengbiao
·
2020-07-28 02:50
C/C++
项目实战篇-餐馆管理系统—MFC,PHP,MySql:5.菜单管理模块
为了提供编译速度,自己也将一些宏定义、包含文件还有常用函数搬家到
stdafx.h
中。
CoderPLDQ
·
2020-07-28 01:48
项目实战篇
用WindowFromPoint()函数来获得鼠标所在位置的窗口的句柄--发生一个关闭窗口的消息---关闭鼠标所在的窗口
#include"
stdafx.h
"#includeint_tmain(intargc,_TCHAR*argv[]){POINTcurpos;while(TRUE){GetCursorPos(&curpos
jerrylii2012
·
2020-07-28 00:13
最小生成树Kruskal算法实现C++实现
//#include"
stdafx.h
"#include#defineMAX100typedefintWeiType;usingnamespacestd;//structEdge{intno;//边的序号
iteye_9281
·
2020-07-28 00:34
图片格式 jpg到ppm c++代码
//#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;voidjpg2ppm(char*input,
雪山飞狐
·
2020-07-27 23:32
机器视觉
练手小程序3.按给定的字母顺序打印字符串
考察知识点:字符串的大小比较代码如下:#include"
stdafx.h
"#include#include#include#include#includestd::mapch
龙少爷_阿呆
·
2020-07-27 23:16
数据结构
练手小程序2.链表翻转问题
比如链表1→2→3→4→5→6,k=2,则翻转后2→1→4→3→6→5,若k=3,翻转后3→2→1→6→5→4,若k=4,翻转后4→3→2→1→5→6考察的知识点:链表的灵活操作代码如下:#include"
stdafx.h
龙少爷_阿呆
·
2020-07-27 23:16
数据结构
C++
MD5算法 C语言 实现
#include"
stdafx.h
"#include#include"stdlib.h"typedefunsignedlongdword;typedefunsignedcharb
hnhuibo
·
2020-07-27 23:07
最简单的opengl动画
//左键旋转中间减停止#include"
stdafx.h
"#includestaticGLfloatspin=0.0;voidinit(){glClearColor(0.0,0.0,0.0,0.0);glShadeModel
gumuguo
·
2020-07-27 22:57
opengl
工大机试第三题
//#include"
stdafx.h
"#include#includeusingnamespacestd;int_tmain(inta
古城3116
·
2020-07-27 22:47
IT源码
工大机试27题
//#include"
stdafx.h
"#includeusingnamespacestd;int_tmain(intargc,_TCHAR
古城3116
·
2020-07-27 22:47
IT源码
工大机试第8题
//#include"
stdafx.h
"#includeusingnamespacestd;in
古城3116
·
2020-07-27 22:47
IT源码
用PCL刷新显示变化的点云
//PCLDemoDlg.cpp:实现文件//#include"
stdafx.h
"#include"PCLDemo.h"#include"PCLDemoDlg.h"#include"afxdialogex.h
gaoenyang760525
·
2020-07-27 22:13
工业三维视觉
STL之for_each, find_if,adjacent_find,count_if的使用
//#include"
stdafx.h
"#include#include#includeusingnamespacestd;structstuInfo{intnum;charname[30];};structstuEqual
世纪殇
·
2020-07-27 21:48
STL
QT中添加MFC库,QT中添加windows函数库
qt-windows-opensource-5.1.1-msvc2010-x86-offline;一:需求:在QT中添加MFC的应用;过程:1:用vs创建QT的ui工程;2:引入MFC头文件,这个可以直接在MFC工程中的
stdafx.h
chinabinlang
·
2020-07-27 20:18
QT
MFC中获取程序自身的版本信息
首先、在
Stdafx.h
中引入链接库:#pragmacomment(lib,"Version.lib")在对应的处理方法中如下:charFileVerInfo[4096];DWORDdwVerLen=0
cenge455
·
2020-07-27 20:45
C++
C++全总结
2//34#include"
stdafx.h
"5#include6#include7#include8#include9#include10#include"TMyNumOperator.h"11#include"abc.h
时空观察者9号
·
2020-07-27 19:57
STL-去除vector中重复的元素
#include"
stdafx.h
"#include#include#includeint_tmain(intargc,_TCHAR*argv[]){std::vectorsingleValueVector
beattwo
·
2020-07-27 19:10
C++学习笔记
STL
第四个程序opengl简单的动画效果。
//#include"
stdafx.h
"#include#include#includestaticintday=200;doubleCalFrequency(){staticintcount;staticdoublesave
紫荆飘香V
·
2020-07-27 18:23
opengl学习笔记
Win32编程
FormatString
#include"
StdAfx.h
"#include"function.h"LPWSTRFormatString(LPCWSTRpszFormat,va_listargs);LPWSTRFormatString
aasmfox
·
2020-07-27 18:34
chapter-6
#include"
stdafx.h
"#include#include#include#include//实参数量未知,但是类型相同#include//调式头文件,assert和NDEBUGusingnamespacestd
峡迩
·
2020-07-27 18:56
Winsock IOCP模型(二)
//#include"
stdafx.h
"#include#include#include#include#pragmacomment(lib,"WS2_32.lib")#defineMAX_BUFFER256
Eleven
·
2020-07-27 17:52
VC/MFC
Development
socket
null
delete
extension
thread
buffer
单目运算符-作为成员重载
单目运算符-作为成员重载#include"
stdafx.h
"#includeusingnamespacestd;//单目运算符重载//M##M++aa++//operator#(L);作友元//L.operator
寂寂寂寂寂蝶丶
·
2020-07-27 17:15
----------运算符重载
关于循环队列的入队、出队、遍历的操作
#include"
stdafx.h
"#include#include#defineMAX100//定义队列结构typedefstructQueue{int*data;intrear;intfront;}
Q_Demo
·
2020-07-27 17:12
数据结构
基于easyx的C++实现贪吃蛇
#include"
stdafx.h
"#include#include#include#include#include#defineN100usingnamespacestd;enummoved{UP,DOWN
·
2020-07-27 16:17
C++ STL中的堆(heap)排序的一些探索
直接上代码:#include"
stdafx.h
"#include#include#includeusingnamespacestd;voidprint_vec(constvector&vec){for(
MQLcsdn
·
2020-07-27 16:41
C++
程序
学习
C++ multiset的一些探索
直接上代码:#include"
stdafx.h
"#include#includeusingnamespacestd;templateusingmset=multiset;intmain(){msetset
MQLcsdn
·
2020-07-27 16:41
C++
学习
程序
for_each替代迭代器使用
//for_each(iterator1,iterator2,function)//*iterator1内容为参数传入function#include"
stdafx.h
"#include#include
leeboy_wang
·
2020-07-27 16:15
C++
利用特征点(Brief,ORB,SIFT)进行图像匹配,模板匹配
头文件在VS2010+OpenCV2.3.1#include"
StdAfx.h
"#include"opencv2/core/core.hpp"#include"opencv2/calib3d/calib3d.hpp
kingeasternsun
·
2020-07-27 16:34
OpenCV
C++笔记
计算机视觉
笔记:OpenCV操作XML存储数据
//#include"
stdafx.h
"#include#include"opencv2/
JarvisChu
·
2020-07-27 15:19
OpenCV
replace_if
//replace_if.cpp--2011-10-03-19.08#include"
stdafx.h
"#include#include#include#includeusingstd::vector;
Golden_Shadow
·
2020-07-27 15:36
STL
equal_range
//equal_range.cpp--2011-10-01-10.20#include"
stdafx.h
"#include#include#include#include#includeusingstd
Golden_Shadow
·
2020-07-27 15:06
STL
上一页
34
35
36
37
38
39
40
41
下一页
按字母分类:
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
其他