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
str to int 转换
#include"
stdafx.h
"#include"iostream"#include"cassert"usingnamespacestd;longintstr_to_int(char*str){assert
gxdwrj
·
2020-07-14 10:20
C语言编程
C++算法之组合算法
从个元素中取出个元素,这个元素可能出现的组合数的总数量为:以1234中选2个数为例:1,2、1,3、1,4、2,3、2,4、3,4#include"
stdafx.h
"#include#include#includeusingnamespacestd
老樊Lu码
·
2020-07-14 10:01
C++
C++primer第五版 编写一段程序,输出每种内置类型所占空间的大小
//编写一段程序,输出每种内置类型所占空间的大小#include"
stdafx.h
"#includeusingnamespacestd;intmain(){charchar_a='a';in
elma_tww
·
2020-07-14 10:52
C++语法
内存对齐问题--vs2010下位域结构体对齐规则
//内存对齐#include"
stdafx.h
"#include#includestructs1{inti:8;charj:4;inta:4;doubleb;};structs2{inti:8;intj
抗麻布袋的人
·
2020-07-14 09:03
c面试题
弗洛伊德算法得到图中任意两个顶点之间的最短路径
//#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;#defineinf100;//按照数据类型将图的数据读进来/
朕还能再战
·
2020-07-14 09:57
C++实现最长公共子序列和最长公共子串
//#include"
stdafx.h
"#include#include#includeusingnamespace::std;intlcs(stringstr1,stringstr2,vector>&
chengonghao
·
2020-07-14 08:33
数据结构与算法
c++ 流迭代器
#include"
stdafx.h
"#include#include#include#include#include#includeusingnamespacestd;int_tmain(intargc
az44yao
·
2020-07-14 07:24
C++ sizeof(a)/sizeof(a[0]) 的正确用法
但并不是所有情况下都可以用这种方法计算数组长度,看下这段代码:#include"
stdafx.h
"#include#include#include#include#incl
(-: LYSM :-)
·
2020-07-14 06:32
C++基础语法
c++ 注册表操作(打开,添加子项)
//#include"
stdafx.h
"#include#include#includeint_tmain(intargc,_TCHAR*argv[]){//1.执行批处理命令//将exe创建为一个
Pattonr
·
2020-07-14 05:30
C/C++
Ping程序实现
OSI模型与ICP/IP模型对比:Ping通过发送ICMP回显请求来确定过一个主机是否存在:#include"
stdafx.h
"#include"Winsock2.h"#pragmacomment(lib
~HAO~
·
2020-07-14 04:02
TCP
C++:设计模式之观察者模式(例子)
//观察者模式#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;/*************************
chnyac
·
2020-07-14 04:52
C++
动态规划之最长公共子序列的求解(C++实现)
//#include"
stdafx.h
"#include"string.h"#include"iostream"usingnamespacestd;#defineM100#defineN100intlcsLength
JasonWinston
·
2020-07-14 02:04
数据结构
算法设计
C++中对文件进行读写操作
#include"
stdafx.h
"#include#include#includeusingnamespacestd;//从键盘上读取字符的函数voidread_save(){charc[80];ofstreamoutfile
dongfengsun
·
2020-07-14 01:16
〖C++技术〗
VideoCapture读取不到视频,但cvCreateFileCapture可以,什么情况?
//#include"
stdafx.h
"#include"cv.h"#includeusingnamespacecv;int_tmain(intargc,_TCHAR*argv[]){//CvCapture
zinnc
·
2020-07-14 00:38
单链表建立,插入,删除,查找,遍历操作
//单链表#include"
stdafx.h
"#include#includeusingnamespacestd;typedefstructnode{intdata;//节点内容node*next;//
zhuimengzh
·
2020-07-13 23:09
Data
Structure
【第三方库】libcurl实现https方式下载和访问
//#include"
stdafx.h
"#include#include#include"curl.h"usingnamespacestd;size_tmy_write_func(void*ptr,size_tsize
半雨微凉丶
·
2020-07-13 23:04
第三方库
演示一下临界区的死锁
//#include"
stdafx.h
"#include#include#includeusingnamespacestd;CRITICAL_SECTIONcs1;CRITICAL_SECTIONcs2
我是榜样
·
2020-07-13 23:10
c++
1.2学习OpenCV(播放视频)
#include"
stdafx.h
"#include"highgui.h"intmain(){cvNamedWindow("Example2",CV_WINDOW_AUTOSIZE);//命名底层窗口为
z_Summer
·
2020-07-13 23:06
OpenCV
FFMPEG SDK流媒体开发2---分离.mp4等输入流音视频并且进行解码输出
每天更新博客记录自己学习的点点滴滴,写完了上班去#include"
stdafx.h
"/******************
UsherYue
·
2020-07-13 23:06
流媒体开发
FFMPEG
SDL
归并排序
知道合并到最后可以执行的简单代码代码:#include"
StdAfx.h
"#include#include#defineMA
don't catch
·
2020-07-13 22:26
openGl深度测试,剔除背面测试
#include"
stdafx.h
"#include#include"gl.h"#include"glut.h"//旋转参数staticGLfloatxRot=0.0f;staticGLfloatyRot
xiaosidi
·
2020-07-13 22:41
[C&C++]NaN值异常处理
//#include"
stdafx.h
"#include"math.h"int_tmain(intargc,_TCHAR*argv[]){floatvalue_NaN=sqrt((float)-1);floatvalue_Normal
LeeLeeLee钟硕
·
2020-07-13 22:55
C
C++
C#
Opencv cvShowMultiImages 函数
#include"
stdafx.h
"#include//va_list,va_start,va_arg,va_end#include#include#include#includeusingnamespacestd
weixin_34252686
·
2020-07-13 18:37
C++入门经典-例6.21-比较string字符串,比较两个字符串
//#include"
stdafx.h
"#include#includeusingnamespacestd;intmain(intargc,
weixin_30902251
·
2020-07-13 17:44
使VC生成最小的可执行文件
//2000-09-0916:38:36#include"
stdafx.h
"#include#pragmacomment(linker,"/subsystem:windows")#pragmacomment
wanchuanhua
·
2020-07-13 16:50
2018年网易笔试题1:输入一个数列a,a有n个元素,对数列b进行操作:1)将a的第一元素放在b的末尾,2)翻转b。将操作1)2)进行n次,求b
将操作1)2)进行n次,求b例如输入1234输出4213思路:利用双向链表list避免了reverse#include"
stdafx.h
"#include#include#include#include
杜甫如诗
·
2020-07-13 15:55
数据结构
fatal error C1083: 无法打开预编译头文件:“Debug/XXXX.pch”: No such file or directory
是否忘记了向源中添加“#include"
stdafx.h
"”?想解决这个问题,最好的办法是理解其原理所在,在博客stdafx有什么用
Jerish_C
·
2020-07-13 15:39
编程工具
vector的自动扩容
#include"
stdafx.h
"#include#includeusingnamespacestd;intmain(){vectora(10),b(10);cout<
首席IT民工
·
2020-07-13 15:23
C
&
C++
boost正则表达式匹配一次
#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;usingnamespaceboost;regexexpression
tg2003
·
2020-07-13 14:48
Cache与内存二三事
#include"
stdafx.h
"#include#inclu
葛俊在新泽西
·
2020-07-13 14:55
c++
Opencv读取视频代码
Opencv读取视频代码#include"
stdafx.h
"#include"highgui.h"intmain(intargc,char*argv[]){cvNamedWindow("avi");CvCapture
sz-lcw
·
2020-07-13 14:50
OpenCV
Trie树,插入,查找,删除,遍历
//#include"
stdafx.h
"#include"string"#include"iostream"#defineN
ruchuer
·
2020-07-13 11:52
data
structure
algorithm
OpenCV图像读入
#include"
stdafx.h
"#include#includeintmain(){Matimg=imread("E:/testimg/scaled-im07-jpg.png",1);//参数1表示原图
山中有石为玉
·
2020-07-13 11:46
用Windows服务做守护进程
//#include"
stdafx.h
"#include#include#include#include#pragmacomment(linker,"/subsystem:windows")//定义全局函数变量
0x0005
·
2020-07-13 11:09
Windows
C++实现单链表的12种基本操作
//Author:kgvito//Date:2017.12.25#include"
stdafx.h
"#includeusingnamespacestd;typedefintDataType;#defineNodeElemType
kgvito
·
2020-07-13 10:39
C++
数据结构
单链表
编程语言
class A 和 class B: public A中A a; B b; A *p = &a; p->foo();相关题目
#include"
stdafx.h
"#includeusingnamespacestd;classA{public:voidfoo(){printf("1\n");}virtualvoidfun(){printf
九米天天
·
2020-07-13 08:04
2015C++第二周,任务九:定义一个person类,派生student类,在派生teacher类,并派生当老师的学生。
#include"
stdafx.h
"#include#include#includeusingnamespacestd;classperson{public:person(char*n,char*s,inta
myth1991x
·
2020-07-13 08:43
C++课程
基类指针创建子类对象 构造顺序 面试必考
//#include"
stdafx.h
"#include"iostream"usingnamespacestd;classA{public:A(){cout<<1<
人气小哥
·
2020-07-13 07:37
C++
实训C++语言设计——Rational有理数的运算实现
StdAfx.h
,StdAfx.cpp这些文件用于生成名为twod.pch的预编译头(PCH)文件和名为StdAfx.obj的预编译类型文件。这些都是使用应用程序向导生成的VC++文件故不列出我只
luozhuang
·
2020-07-13 07:37
【面试题】用栈解决括号匹配问题
代码如下:#include"
stdafx.h
"#include#include
Steve_Abelieve
·
2020-07-13 07:36
C
UDP服务器端程序(C语言)
//#include"
stdafx.h
"#include#include#pragmacomment(lib,"ws2_32")intmain(){//WSA是webserverAPI的简写WSADATAwsaData
hxxjxw
·
2020-07-13 05:41
UDP服务器端
学习OpenGL总结二
学习OpenGL总结二OpenGL_FirstWin32.cpp:定义应用程序的入口点//OpenGLFramework//OpenGL框架类#include"
stdafx.h
"#include"OpenGL_FirstWin32
hsg77
·
2020-07-13 05:49
float与double的MAX-MIN
#include"
stdafx.h
"#include#include//浮点数的极大值与极小值在float.h#include//整数形的极大值与极小值在limits.hvoidfloatmaxmin(
han897910256
·
2020-07-13 05:09
C语言
2019 WebRtc AudioMixer混音流程
代码如下:1#include"
stdafx.h
"2#inclu
dennyli1986
·
2020-07-13 04:15
数组类型转为整型
////功能:将数组(指针)类型转为整型#include"
stdafx.h
"#includeusingnamespacestd;intmain(){shortTestShort[2
baixingzhi2917
·
2020-07-13 02:45
C++正则表达式匹配、分割字符串
#include"
stdafx.h
"#include#include#includeusingnamespacestd;intmain(){std::strings("abcd12_efgh34");std
ai7090
·
2020-07-13 02:11
学习C++
C#调用C/C++ dll
Win32C/C++DLL代码如下(最终编译成dll.dll):#include"
stdafx.h
"#include#ifdef_MANAGED#
ZOLoveGD
·
2020-07-13 01:40
WinCE&MFC
C&C++
c#
dll
测试
string
report
struct
第三章作业
无符号的整数加法、乘法是mod2^32的加法、乘法;证明:#include"
stdafx.h
"#include"iostream"usingnamespacestd;intmain(){unsignedintt
咣当_
·
2020-07-12 22:34
C++入门经典-例6.21-比较string字符串,比较两个字符串
//#include"
stdafx.h
"#include#includeu
一串字符串
·
2020-07-12 22:55
C++
LCA离线算法第一波 targin
///*targinalgorithm*/#include"
stdafx.h
"#include#include#includeusingnamespacestd;#definen12intgraph[n
等候下一场雪
·
2020-07-12 20:42
ACM
上一页
37
38
39
40
41
42
43
44
下一页
按字母分类:
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
其他