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
用C++写一个同步互斥售票系统
//#include"
stdafx.h
"#include#includeusingnamespacestd;staticintticket=0;//winapi表明是C语言函数只能用C语言来编译//线程回调函数
WUST_ZZY
·
2020-08-16 01:33
学习
C++
利用c++写简单的客户端服务器端程序
CLIENT客户端#include"
stdafx.h
"//网络通信WI
WUST_ZZY
·
2020-08-16 01:02
C++
学习
数据结构—单项循环链表解决约瑟夫问题
每个人手里都有不同的密码,选择一个人,从他开始,以他的密码为初始开始报数,如果有人报的数字为1,这个人退出并且以退出这个人手中的密码作为新的起始,直到所有人都出列他为止单项循环链表实现#include"
stdafx.h
他们说快写一首情歌
·
2020-08-16 00:31
数据结构-复习
(六)STL解决括号匹配问题
//#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;intmain(){vectorStac
大帅锅1
·
2020-08-16 00:27
数据结构
栈的源代码C/C++实现
//visualstudio2013//栈顺序存储表示#include"
stdafx.h
"#include"iostream"#defineMAX23//初始化Stack的大小#defineSTACK_INIT_SIZE10
Inc_Cool
·
2020-08-16 00:26
语言编程
cvFindContours使用方法
代码如下:#include"
stdafx.h
"#include#include#includeusingnamespacestd;intmain(){IplIm
pymqq
·
2020-08-16 00:32
select模型使用例子
一、客户端代码C++代码#include"
stdafx.h
"#include#include#pragmacomment(l
pcsuite
·
2020-08-16 00:20
数据结构之循环双链表的结构和实现
#include"
stdafx.h
"#includeusingnamespacestd
乐由心起
·
2020-08-15 23:00
数据结构
循环链表解决魔术师发牌问题和拉丁方阵
1的等差数列逐次取出,在求要取出的牌的过程中未取出的牌将顺次加入到末尾,求出能够达成这样效果的牌序.拉丁方阵问题,用N个不同数字排除N*N的方阵使之行和列的数字都不一样.下面是代码:#include"
stdafx.h
haohulala
·
2020-08-15 23:53
数据结构
win32 窗口程序实现控制台信息跟踪 简单案例
//#include"
stdafx.h
"#include"test.h"#includeusingnamespacestd;#defineMAX_LOADSTRING100//全局变量:HINSTANCEhInst
小小玮
·
2020-08-15 22:07
win32
SDK
数据结构——C++栈
//#include"
stdafx.h
"#includeusingnamespacestd;constintMAX=5;//假定栈中最多保存5个数据//定义名为stack的类,其具有栈功能classstack
KarlDoenitz
·
2020-08-15 21:41
Java程序
关于C++——cout默认不输出浮点数小数点后多余的0
以下代码供理解这个变化过程://#include"
stdafx.h
"//Ifthevc++6.0,withthisline.#includeusingnamespace
油炸嘎拉小丸子
·
2020-08-15 21:07
C/C++
opencv开发笔记(六):鼠标操作回调函数的使用
#include"
stdafx.h
"#includeusingnamespacecv;#defineWINDOW_NAME"程序窗口"//函数声明voidon_mouse(intevent,intx,inty
大郎拱白菜
·
2020-08-15 19:51
opencv编程开发笔记
opencv3新手入门
opencv3
opencv3教程
opencv
opencv编程开发
用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语言
上一页
23
24
25
26
27
28
29
30
下一页
按字母分类:
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
其他