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语言
仅供一个记录,注释都在源码中#include"
stdafx
.h"/***依赖插入排序法求*找任意数组中的N个最小值的位置*array:目标数所在的数组*arrLen:目标数组的长度*mins:存放结果的数组
zhongheijituan
·
2020-08-16 17:13
最小值
数组任意最小值
插入排序
c语言
"
stdafx
.cpp"编译引起的C2859、C1083、LNK2001错误[转]
From:http://blog.sina.com.cn/s/blog_48f93b530100fkcg.html今天在VC2005中修改一个工程的文件结构,将"
stdafx
.cpp"文件挪动了位置,编译时出现
weixin_30721077
·
2020-08-16 15:48
c++冒泡排序法
//#include"
stdafx
.h"#include"windows.h"int_tmain(intargc,_TCHAR*argv[]){inti,j,temp;inta[5]={6,2,7,1,3
txwtech
·
2020-08-16 15:32
C++
VS2017 动态链接库的制作及调用---从动态链接库中导出函数和类并调用
默认生成以下文件:在Dll-1.cpp中输入如下代码:#include“
stdafx
.h”intadd(inta,intb){returna+b
tpz789
·
2020-08-16 15:31
重要
最小窗口子串(求原字符串中包含给定字符串2的最小子串)
2/*3求原字符串中包含给定字符串2的最小子串4*/5#include"
stdafx
.h"6#include7#include8#include9usingnamespacestd;1011stringminWindow
Alex-xi
·
2020-08-16 14:15
算法
例说WIN32 Tab控件使用
然后在相应的标签页点击响应的按钮,弹出个对话框,来响应子对话框的消息.具体实现见下面代码:#include"
stdafx
.h"#i
YunShell
·
2020-08-16 13:42
windows
UI设计
冒泡对10个数排序,函数调用。
**问题描述:*程序输出:*问题分析:略*算法设计:略*/#include"
stdafx
.h"#includeusingnames
宾宾琪琪
·
2020-08-16 13:33
C++
CreateProcess的用法
注意第二个参数是可执行文件+命令行参数[cpp]viewplaincopy#include"
stdafx
.h"#include#includeintmain(intargc,char*argv[]){STARTUPINFOsi
kuxing100
·
2020-08-16 13:18
win32控制台 获取CPU使用率
#include#include"
StdAfx
.h"#include#includeusingnamespacestd;__int64CompareFileTime(FILETIMEtime1,FILETIMEtime2
danelumax2
·
2020-08-16 12:13
MPEG
DASH
C++--归并排序、快速排序、插入排序、冒泡排序、选择排序
#include"
stdafx
.h"#include//打印数组的代码voidprint(int*pData,intcount){for(inti=0;ikey){a[i+1]=a[i];i--;}a[
learner_ctr
·
2020-08-16 11:24
其他
QtCreator编译错误: -1: error: [debug/main.o] Error 1 问题的解决办法
在使用Qt的时候经常会出现一些莫名奇妙的编译报错,有时候真的是无语,经常会遇到诸如-1:error:[debug/main.o]Error1这样的问题,调试了很多次后发现和我自己设置的预编译
stdafx
.h
Justice132
·
2020-08-16 11:48
Qt
基于vs的RTKLIB2.4.3编译学习历程及经验分享
以及北斗数据详解1、在vs中新建一个控制台项目(含预编译头);2、在建好的项目中添加rtklib.h以及需要用到的source文件(.c文件),然后将.c改为.cpp并在每个文件首句增加一行#include"
stdafx
.h
氵霸霸氵
·
2020-08-16 11:47
RTKLIB学习
自适应阈值
#include"
StdAfx
.h"#include#include#includeintmain(){IplImage*Igray=cvLoadImage("lena.jpg",CV_LOAD_IMAGE_GRAYSCALE
zhangpf19880123
·
2020-08-16 10:59
OpenCV
二维OTSU算法快速实现
#include"
stdafx
.h"#include#includ
yao_hust_iAC
·
2020-08-16 10:45
opencv
基于正则表达式原理,判断字符串中是否含有特殊字符?
以输入英文短句(英文单词+空格)为例:#include"
stdafx
.h"#include"iostream"#includeusingnamespacestd;boolCheckStrFormat(std
七巷少年^ω^
·
2020-08-16 09:59
c++
倒三角算法
#include#include"
stdafx
.h"#include#includeusingstd::cin;usingstd::cout;intmain(){intn;cout>n;if(0<=n&
weixin_30332241
·
2020-08-16 08:05
OpenCV使用直方图统计像素
//#include"
stdafx
.h"#include#includeusingnamespacecv;usingnamespacestd;classHistogram1D{public:Histogram1D
Rson555
·
2020-08-16 08:57
C++
OpenCV
根据特殊字符将字符串进行截取
相关函数的封装及测试如下:#include"
stdafx
.h"voidDecodeString(char*pszin,char(*pszout)[100],int&num,charmark){intnStart
小米的修行之路
·
2020-08-16 08:34
字符串截取函数封装
opencv---颜色通道分离、合并
#include"
stdafx
.h"#includeusingnamespacecv;int_tmain(intargc,_TCHAR*argv[]){MatsrcImage;srcImage=imread
小米的修行之路
·
2020-08-16 08:34
图像处理
C++利用event(事件)实现多线程
////mutex#include"
stdafx
.h"#include#include#includevoid__cdeclthreadProc1(voi
程序员之通天帝国
·
2020-08-16 08:08
c++利用mutex(互斥量)实现多线程
////mutex#include"
stdafx
.h"#include#include#includevoid__cdeclthreadProc1(
程序员之通天帝国
·
2020-08-16 08:08
多线程PV操作(生产者与消费者模型)
////producerandconsumer#include"
stdafx
.h"#include#include#include#includeusingnamespacestd;HANDLEhEvent1
程序员之通天帝国
·
2020-08-16 08:08
c++
C语言实现检查括号匹配
#include"
stdafx
.h"#include#include#include//在start与end中搜索匹配intfun(char*str,intstart,intend){charchLeft
程序员小马z
·
2020-08-16 07:48
C语言学习笔记
演示live555-liveMedia中BitVector class 比特流类的使用
#include"
stdafx
.h"#include"CppUnitTest.h"usingnamespaceMicrosoft::VisualStudio::CppUnitTestFramework;
kagula086
·
2020-08-16 06:02
C++
SQLite3 插入BLOB类型的数据(C++实现)
示例代码:#include"
stdafx
.h"#include#include#include#include#include"cppsqlite3u.h"usingnamesp
hellokandy
·
2020-08-16 06:46
MySQL
/
SQLite
判断回文
//#include"
stdafx
.h"#include"stdio.h"defineStackSize100typedefc
A一剑飞鸿
·
2020-08-16 06:54
C++中Pair模板类的使用
#include"
stdafx
.h"#include#includeusingnamespacestd;classPoint_3D{//定义一个三维数据点类,用于存放三维数据public:intx,y,
CSU小王子
·
2020-08-16 06:55
C++
数据结构之排序(四)——直接插入排序
算法#include"
stdafx
.h"usingnamespacestd;#include#include"
stdafx
.h"//用于要排序数组个数最大值,可根据需要修改#defineMAXSIZE10typedefstruct
BackkomCoder
·
2020-08-16 05:19
数据结构
直接插入排序的实现(递归和非递归)
//#include"
stdafx
.h"#includeusingnamespacestd;//插入排序(非递归)voidInsertSort(int*pArr,intnLength){if(pArr=
龙少爷_阿呆
·
2020-08-16 04:52
数据结构
自定义结构体vector的排序
有两种方法,下面的例子能很好的说明:方法1:我们直接来看代码吧,比较简单,容易理解:#include"
stdafx
.h"#include#include#includeusingnamesp
taxue505
·
2020-08-16 04:17
STL源码剖析
IIR型高斯滤波的原理及实现
下面给出本人实现的核心代码:#include"
stdafx
.h"typedefstruct{floatB;floatb[4];}gauss_coefs;//参数计算voidcompute_coefs3(
weixin_34097242
·
2020-08-16 02:51
C语言求:1到100之间的所有素数之和
+5+7+11+13+17+19+23+29+31+37+41+43+47+53+59+61+67+71+73+79+83+89+97=1060,答:100以内所有素数之和是1060#include"
stdafx
.h
魏波-
·
2020-08-16 02:39
面试题
纯C语言实现双循环链表
VC6.0*//*Name:纯C语言实现双循环链表Copyright:AllrightReservedAuthor:刁肥宅Date:03/08/1817:12Description:整合书上的代码*//*
StdAfx
.h
u25th_engineer
·
2020-08-16 02:55
算法
数据结构
单例类写法
#include"
stdafx
.h"#includeusingnamespacestd;classMyCAS{private:MyCAS(){}//私有化构造函数,就不能用MyCASa;这种语句成类对象了
请点击头像
·
2020-08-16 02:03
知识点
STL stack简单使用
//#include"
stdafx
.h"#include#include#includeint_tmain(intargc,_TCHAR*argv[]){usingnamespacestd;std::couts
不游泳的鱼
·
2020-08-16 02:38
stl
魔术师发牌问题
#include"
stdafx
.h"#includeusingnamespacestd;structListNod
_yxy_
·
2020-08-16 01:35
小程序+数据结构与算法
链表
ACE之Proactor模式使用实例
//#include"
stdafx
.h"#include"ace/Message_Queue.h"#include"ace/Asynch_IO.h"#include"ace/OS.h"#include"ace
phymat.nico
·
2020-08-16 01:15
用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编程开发
上一页
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
其他