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
用C++画矩形
注:我的开发环境是vs2013,所以需要手动配置EasyX图形库,还没配置图形库的可以参考我的另一片文章一、配置好图形库(可以参考我那篇EasyX图形库配置的文章)二、开始编码#include"
stdafx
.h
浪子四方
·
2020-08-15 18:24
C++
用C++画一个圆
注:我的开发环境是vs2013,所以需要手动配置EasyX图形库,还没配置图形库的可以参考我的另一片文章一、配置好图形库(可以参考我那篇EasyX图形库配置的文章)二、开始编码#include"
stdafx
.h
浪子四方
·
2020-08-15 18:24
C++
visual
studio
c++-图形库
用C++画坐标轴或直线
注:我的开发环境是vs2013,所以需要手动配置EasyX图形库,还没配置图形库的可以参考我的另一片文章一、配置好图形库(可以参考我那篇EasyX图形库配置的文章)二、开始编码#include"
stdafx
.h
浪子四方
·
2020-08-15 18:24
C++
WINDOWS下内存泄漏检测工具VLD(Visual Leak Detector)的使用
目录)添加到VS的附加库目录,无需手动添加include目录和lib目录VLD使用:通常在main函数所在的CPP文件中include即可运行程序,退出后产生检测报告注意事项:1如果有include"
stdafx
.h
Risehuxyc
·
2020-08-15 18:19
C/C++
zthread学习 实例十 线程间的协助(二)
代码如下:#include"
stdafx
.h"#include"zthread/FastMutex.h"#include"zthread/CountedPtr.h"#include"zthread/Runnable.h
Jarrys
·
2020-08-15 18:02
Zthread
学习
c数据结构栈的基本操作(字符逆序输出)
线性栈输入字符,再输出#include"
stdafx
.h"#include#include#defineSTACK_SIZE100#defineSTACKINCREAMENT10#defineERROR0
aishenyan0793
·
2020-08-15 18:15
键盘、鼠标控制小球
//#include"
stdafx
.h"#include"easyx.h"#include"conio.h"voidmain(){inti
BenBenBears
·
2020-08-15 18:05
EasyX游戏编程
Easyx游戏编程
荷兰国旗问题-C语言实现
荷兰国旗问题数组中的元素,小于e的排在数组左边等于在中间大于在右边/**运行环境win10+vs2015*结果:运行正确*编者:倾斜的正弦波*/#include"
stdafx
.h"#defineMaxsize10intbuffer
倾斜的正弦波
·
2020-08-15 17:16
数据结构与算法
C语言获取系统本地时间和修改本地时间
#include"
stdafx
.h"#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){SYSTEMTIMEstUTC=
cuijinquan
·
2020-08-15 17:00
C/C++
Canny边缘检测源码与图像结果(OpenCV2.0)
ViewCode1#include"
stdafx
.h"2#include"cv.h"3#include"cxcore.h"4#include"highgui.h"5#ifdef_CH_6#pragmapackage7
weixin_33980459
·
2020-08-15 16:47
人工智能
c/c++
数据结构与算法
【转】真彩bmp图像转化为灰度图
[cpp]viewplaincopy#include"
stdafx
.h"#include#includeint_tmain(intargc,_TCHAR*argv[]){intbmpHeight;intbmpWidth
sanroutuo
·
2020-08-15 15:38
windows api+opencv实现动态截屏并显示
先上效果下面是实现代码#include"
stdafx
.h"#include"cv.h"#include"highgui.h"usingnamespacecv;voidScreen();BOOLHBitmapToMat
Ahacker_l
·
2020-08-15 15:51
windows
api
【vector应用】计算两个向量的内积
//#include"
stdafx
.h"#include#include#include#includeusingnamespacestd;intrand_int(inta,intb);doublescalar_product
脚蹬轱辘转
·
2020-08-15 14:16
C++
OpenCV轮廓检测,计算物体旋转角度
//#include"
stdafx
.h"#include#include#include#include#include#include#pragmacomment(lib,
hertz158123
·
2020-08-15 14:43
OpenCV
简单背包(无价值总和)问题的实现。
//这是主函数#include"
stdafx
.h"#include"stack.h"#defineN20intW[N]={1,3,2,4,5,6,7,8,9,10};voidmain(){intT=15
UncleQiong
·
2020-08-15 13:56
OpenCV轮廓检测,计算物体旋转角度
//#include"
stdafx
.h"#include#include#include#include#include#include#pragmacomment(lib,"opencv_core2410d.l
weixin_33845881
·
2020-08-15 12:26
OpenCV 求外接矩形以及旋转角度
//#include"
stdafx
.h"#include#include#include#include#include#include#pragmacomment(lib,"opencv_
shiter
·
2020-08-15 12:49
图形图像
计算机视觉
OpenCV
轮廓检测
计算机视觉OpenCV实现
OpenCV轮廓检测 物体旋转角度
//#include"
stdafx
.h
roslei
·
2020-08-15 12:00
Opencv
pthread的pthread_join()函数
pthread_join()阻塞等待函数pthread_ttid;pthread_create(&tid,NULL,thread_run,NULL);pthread_join(tid,NULL);#include"
stdafx
.h
lucky tiger
·
2020-08-15 12:19
linux系统编程
OPC工作记录整理——第四篇(OPC客户端开发之OPC服务器的枚举和连接)
首先是对头文件的引用:#include"
stdafx
.h"#include#include#include"opccomn.h"#include"opcda.h"#include"opcerror.h"
geekc
·
2020-08-15 11:04
OPC协议
C++
OPC
OPC客户端
OPC服务器枚举
OPC服务器连接
pugixml读写 遍历节点方法
//test.xml/*HarryPotter29.99test_1test_2LearningXML39.95*/#include"
stdafx
.h"#include#include"pugixml.hpp"int_tmain
小青峰_jd
·
2020-08-15 10:35
xml解析类
c++排序从小到大随机排序输出
c++排序从小到大随机排序输出:#include"
stdafx
.h"#include#includeusingnamespacestd;intmain(){inta[30];for(inti=0;i<10
黄色沙琪玛
·
2020-08-15 09:15
c/c++基础
VS2015使用realsense简单有效的方法
#include“
stdafx
.h”#
侯增涛
·
2020-08-15 09:08
向PE文件中空白处添加代码
//PE文件从文件加载到内存,再从内存读取,然后存盘到文件#include"
stdafx
.h"#include#include//#definePATH"C:\\Windows\\System32\\notepad.exe
weixin_34068198
·
2020-08-15 08:28
VS2013 MFC 调用控制台 用于显示cout输出流
转自:http://blog.163.com/loveyingchun_1314/blog/static/238242512011112822233106/1、在项目自动生成的
stdafx
.h文件中添加下面头文件
anti_007
·
2020-08-15 08:01
CC++
C语言实现屏幕定位
具体代码如下:#include"
stdafx
.h"#include#includeHANDLEhandle=GetStdHa
Zenith_Lee
·
2020-08-15 07:14
C
libcurl之curl_easy_getinfo的使用教程
//#include"
stdafx
.h"#includeusingnamespacestd;#include"curl/curl.h"#pragmacomment(lib,"curllib.lib")/
曾是土木人
·
2020-08-15 07:05
C++
MSER_sample
//#include"
stdafx
.h"#include"opencv2/highgui/highgui.hpp"#include"opencv2/features2d/features2d.hpp"#
libin88211
·
2020-08-15 06:15
C/C++学习
学习opencv
C++随机化快速排序
//#include"
stdafx
.h"#include#includeusingnamespacestd;doublea[100];intrandom(intm,intn)//产生一个随即下标,用其对应的数组元素作为比较标准
一只鸟的天空
·
2020-08-15 06:18
C
C++开发
算法设计与分析
打包解包
#include"
stdafx
.h"#include"iostream"#include"fstream"#includeusingstd::fstream;usingstd::ios;usingstd
duixiaoyan
·
2020-08-15 06:45
C++学习
慎用模板计算
介绍c++模板编程的很多书,一般上来都拿模板的数值计算举例,这对于理解模板原理很有帮助,但感觉实际上很少用到,并且存在一些问题,比如以下是我写的一个用模板进行数值的代码:#include"
stdafx
.h
slatp
·
2020-08-15 05:17
c++
用单链表实现学生信息管理系统
//#include"
stdafx
.h"#include#includeusingnamespacestd;#define
wanhuatong1987
·
2020-08-15 03:45
C++控制台输出彩色文字
//#include"
stdafx
.h"#include#include#include#includeusingnamespacestd;voidcprintf(char*str,WORDcolor,
zhy9934
·
2020-08-15 03:58
C/C++
C++ 简单的 Tcp 实现[socket] 服务器端与客户端通信
//#include"
stdafx
.h"#
luckyone906
·
2020-08-15 03:21
以太网通信
c++中多态的理解
以下是运行时多态的一个简单示例:#include"
stdafx
.h"#include#pragmawarning(disable:4996)
酸菜鱼的鱼
·
2020-08-15 03:37
interview
c++面试
数组的指针法和下标法
//#include"
stdafx
.h"#includeintmain(intargc,char*argv[]){/*inta[10]={1,2,3,4,5,6,7,8,9,10};inti=0;while
lyshahaha
·
2020-08-15 02:07
使用迭代法(头插入法)和递归法实现单链表的逆序 c++实现
1.使用迭代法实现单链表逆序(头插入法)#include"
stdafx
.h"#include#include"stdlib.h"#include#include#include#includeusingnamespacestd
hopegrace
·
2020-08-15 02:56
c++语言
算法与数据结构
c语言
VC++SDK中实现直线(矩形,椭圆等)的移动及直线依附矩形椭圆的移动方法(附:运行效果图)
//#include"
stdafx
.h"#include"areatest.h"#include#define
yiruirui0507
·
2020-08-15 01:47
windows
SDK/MFC
定义在类中的友元函数
#include"
stdafx
.h"#includeusingstd::cout;usingstd::endl;classX{public:X(intt=10):val(t){}//friendvoidfun
yiruirui0507
·
2020-08-15 01:43
c/c++
c/c++
Hook自定义MessageBox
//#include"
stdafx
.h"#include"windows.h"#include#includeusingnamespacestd;//MessageBoxW函数原型//intWINAPIMessageBoxW
人生如白驹过隙
·
2020-08-15 00:14
木马
C++ HOOK 指定进程的指定 API(MessageBoxA 为例)(最简单)
#include"
stdafx
.h
(-: LYSM :-)
·
2020-08-14 23:13
C++功能函数
C++ HOOK 全局 API (MessageBox 为例)
//#include"
stdafx
.h"#include"Test_Dll(mfc).h"#ifdef_DEBUG#definenewDEBUG_NEW#e
(-: LYSM :-)
·
2020-08-14 23:43
C++功能函数
字符串中统计单词个数
代码如下:#include"
stdafx
.h"#include#include#include#
Jimmy1224
·
2020-08-14 22:10
STL
删除单链表中指定的节点
#include"
stdafx
.h"#include#include#includeusingnamespacestd;structNode{intpos;Node*pNext;Node(intposition
wangyangkobe
·
2020-08-14 20:52
算法与数据结构
VS代码编译能通过,但是出现红色波浪线的问题
这个问提很奇特:我在这里以使用duilib库时,我的代码中出现红色波浪线的解决办法解决办法:我引用duilib库时,在
stdafx
.h的头文件中引入duilib的头文件,然后usingnamespaceDuiLib
Champion.zhu
·
2020-08-14 20:56
【OpenCV】人脸旋转角度计算
//#include"
stdafx
.h"#include#include#include#include#include#include#include#include//GaussianBlur#include"face_detection.h
Taily老段
·
2020-08-14 16:22
OpenCV
编程语言
简单选择排序
2,简单代码#include"
stdafx
.h"#include#includeusingnamespacestd;voidselectso
dota爱好者
·
2020-08-14 14:38
校招常考算法
将两个有序表合并成一个非递减的有序表算法
2,代码如下:#include"
stdafx
.h"#include#defineMAXSIZE40structSqList{intlist[MAXSIZE+1];intlength;};voidmerge
yychenxie21
·
2020-08-14 14:48
算法与数据结构
VC++实现NAT穿透之NAT类型检测
//#include"
stdafx
.h"#include#include#include#include"winsock2.h"#include".
尹成
·
2020-08-14 14:40
VC++编程技术
VisualC++信息安全编程
vc++
fp
socket
struct
file
网络
【计算机图形学】c++ OpenGL 三维变换(包括平移、旋转和缩放)
//#include"
stdafx
.h"#include#includeusingnamespacestd;voidinit(void){glClearColor(0.0,0.0,0.0,0.0);//
Arana--
·
2020-08-14 14:59
计算机图形学
c++
图形学
opengl
c++
上一页
24
25
26
27
28
29
30
31
下一页
按字母分类:
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
其他