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
STL 累加
/*其中的std::plus()可以省略,因为这将是3个参数的accumulate的默认行为*/#include"
stdafx.h
"#include#include#include#include#include
zlunan
·
2020-07-10 15:41
STL
openmp并行嵌套实例
//#include#include"
stdafx.h
"voidreport_num_threads(intlevel){//#pragmaompparallel{printf("level%d:numberofthreadsintheteam
zhuxianjianqi
·
2020-07-10 14:58
OPENMP
在vector中查找元素及其位置
//#include"
stdafx.h
"#include#include#includeusingnamespacestd;int_tmain(){vectorvecIntegerArray;vecIntegerArray.push_back
zhouzhenhe2008
·
2020-07-10 14:01
C/C++
c++内置类型范围!
//#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;intmain(){cout::max)();
峡迩
·
2020-07-10 14:22
STL中vector向量初始化问题
//程序:vector演示一//目的:理解STL中的向量//#include"
stdafx.h
"--如果你使用预编译的头文件就包含这个头文件#include//STL向量
yinyun19890129
·
2020-07-10 13:25
C++学习笔记
C++常用库函数atoi,itoa,strcpy,strcmp的实现
//整数转换成字符串itoa函数的实现2#include"
stdafx.h
"3#include4usingnamespacestd;5voiditoaTest(intnum,charstr[])6{7intsign
xiejinfeng850414
·
2020-07-10 12:00
xcode的ios工程目录结构复习
目录结构:a、supportingfiles:main.m和资源文件xxx-info.plist:包含应用程序相关属性列表,如版本,程序名等.pch文件:预编译头文件,相当于MFC里的
stdafx.h
,
DragonWar%
·
2020-07-10 07:39
【狼】openGL 光照的学习
小狼学习原创,欢迎批评指正http://www.cnblogs.com/zhanlang96/p/3859439.html先上代码#include"
stdafx.h
"#include#include"iostream
weixin_30824277
·
2020-07-10 07:17
七种排序算法总结,包括代码,注释,性能。
/*排序算法总结(按升序排序)*/#include"
stdafx.h
"#include"iostream"#includeusingnamespacestd;//稳定性是描述排序后,原有序序列是否发生变化
wasingshare
·
2020-07-10 06:14
数据结构
排序算法
性能
二叉树的学习(四种遍历方法,搜索,插入,删除等)
环境:VS015#include"
stdafx.h
"#incl
wasingshare
·
2020-07-10 05:44
数据结构
图论------创建邻接表图,打印邻接表图,无权最短路径输出函数
//图论算法//#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;typedefstructvertex{intv;
wasingshare
·
2020-07-10 05:44
数据结构
邻接表
无权最短路径
图论
for_each一探
#include"
stdafx.h
"#include#include#include#include#include#include#include#include#include#includeusingnamespacestd
FBI-PC
·
2020-07-10 05:30
C++
Primer
OSG学习笔记0——解决OSG读obj模型问题
//#include"
stdafx.h
"#include#includeintmain(intargc,char**argv){osgViewer::Viewerviewer;//定义一个视景器osgDB
某吃货敲代码
·
2020-07-10 04:16
TTS 语音程序
//#include"
stdafx.h
"#include"sapi.h"#include"sphelper.h"#pragmacomment(lib,"sapi.lib")#include#pragmacomment
197山清水秀
·
2020-07-10 04:05
c++
监测局域网共享文件夹下增加文件,修改文件
#include"
stdafx.h
"#include"iostream"#include#include#include#include#include"stdio.h"#pragmacomment(lib
DoubleImage
·
2020-07-10 03:07
编程记录
校园导航——数据结构作业(一)
////#include"
stdafx.h
"#include"iostream"#include"cstdio"#include"string"#include"cstring"#include"stack
Astronomical
·
2020-07-10 02:37
数据结构
作业
循环队列C语言实现
//循环队列,以数组作为存储结构,C语言实现#include"
stdafx.h
"#include//定义队列数组大小#defineQUEUESIZE10//定义循环队列结构体typedefstruct_CycleQueue
sharelx
·
2020-07-10 01:10
C/C++
Data
Structure
语言
c
存储
struct
C++根据文件路径获取文件名
#include"
stdafx.h
"#include#includeusingnamespacestd;std::stringGetPathOrURLShortName(std::stringstrFullName
jota
·
2020-07-10 01:08
C++
C++实现string.replace(字符串替换)
#include"
stdafx.h
"#include#includeusingnamespacestd;voidstring_replace(std::string&strBig,conststd::string
jota
·
2020-07-10 01:07
C++
windows 实现UDP广播获取设备
//#include"
stdafx.h
"#include#include#include#include#pragmacomment(lib,"ws2_32.lib")#include#include#
jota
·
2020-07-10 01:36
C++
用c++结束进程的程序
一起研究,所以也用c++写了一个console的结束进程的程序,本来想实现查找等功能,但是其实都是很简单,也就是结束进程还是比较麻烦的,所以别的功能也没有写,只写了现在这个结束进程的程序#include"
stdafx.h
sdpdww
·
2020-07-10 01:22
编程之路
extern使用方法总结!
#include"
stdafx.h
"1.extern用在变量声明中常常有这样一个作用,你在*.c文件中声明了一个全局的变量,这个全局的变量如果要被引用,就放在*.h中并用extern来声明。
ryman
·
2020-07-10 01:22
C/C++一般性问题
map迭代器访问
#include"
stdafx.h
"#include#includeusingnamespacestd;intmain(){mapmp;mp['m']=20;mp['z']=30;mp['a']=40;
qq_42265608
·
2020-07-10 00:37
STL学习
zbar二维码识别
#include"
stdafx.h
"#include"
stdafx.h
"#include"include\zbar.h"#include"opencv2/opencv.hpp"#include"opencv2
苏林同学
·
2020-07-09 22:41
一篇文章解决所有LeetCode树的问题
/*初值指针赋值NULL且pbtreet;t=(pbtree)malloc(sizeof(pbtree));*///#include"
stdafx.h
"#include"iostream"#includeusingnamespacestd
msn_qqa
·
2020-07-09 20:05
快速排序算法例子
//#include"
stdafx.h
"#includeusingnamespace
欧特GO
·
2020-07-09 20:55
C++应用
win32线程创建、线程同步以及读者写者问题
include"
stdafx.h
"#include#include#include//设置控制台输出颜色BOOLSetConsoleColor(WORDwAttributes){HANDLEhConsole
_开元_
·
2020-07-09 19:39
windows编程
简单之设置物品掉落(出现)几率
#include"
stdafx.h
"#include#include#includeusingnamespacestd;unsignedint_cdeclRandom(unsignedintm,unsignedintn
liuqian134
·
2020-07-09 19:53
如果遍历map中最后一个元素rbegin(),end(),rend()
#include"
stdafx.h
"#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){mapmymap;mymap['
小青峰_jd
·
2020-07-09 18:07
STL随笔
rbegin
end
rend
map
[轉]vc中使用ADO訪問access數據庫
/*#include"
stdafx.h
"intmain(intargc,char*argv[]){printf("HelloWorld!
iteye_19484
·
2020-07-09 17:42
dll注入进程后卸载的代码
//App.cpp#include"
stdafx.h
"#include#defineMAX_SIZE1024*16#defineDLL"D:/Code/TestCode/UnloadDll/UnloadDll
iiprogram
·
2020-07-09 17:38
windows底层核心編程
Lua的pcall错误处理
#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;extern"C"{#include"lua.h"#include"lualib.h
双杯献酒
·
2020-07-09 17:07
Lua
CCITT-CRC16
//VC2008//CCITT-CRC16:x16+x12+x5+1//注:boost库有crc专门用于计算crc校验#include"
stdafx.h
"#includeunsignedshortdo_crcH
双杯献酒
·
2020-07-09 17:07
算法
查看Outlook保存的密码
http://securityxploded.com/outlookpasswordsecrets.php//VS2012通过(MBCS字符集)//Windows7,Outlook2010#include"
stdafx.h
双杯献酒
·
2020-07-09 17:07
知识库
算法
C/C++结构体struct 与结构体数组和枚举型enum的结合使用
C/C++结构体struct与结构体数组和枚举型enum的结合使用#include"
stdafx.h
"#include#includeusingnamespacestd;//定义一个结构体:PersonstructPerson
pan_jinquan
·
2020-07-09 16:07
C
/
C++
【vs2015】C++ 程序运行并等待进程结束
win32控制台应用程序以下操作实现跨平台(1).配置属性-常规-MFC的使用->使用标准Windows库或者在静态库中使用MFC(2).配置属性-c/c++-代码生成-运行库->多线程(/MT)2.头文件
stdafx.h
Greless
·
2020-07-09 16:08
MFC/C++
汉字转拼音的vc++程序源代码
#include"
StdAfx.h
"#include"MyChiToLetter.h"//Downloadbyhttp://www.codefans.netCMyChiToLetter::CMyChiToLetter
diaozhuochuan9223
·
2020-07-09 15:19
C++单例的完美实现
//#include"
stdafx.h
"//#include#includeclassCWMDL{private:CWMDL(){}staticCWMDL*m_c;//可以自动释放
dalerkd
·
2020-07-09 15:39
实践
C/C++ Windows API——枚举进程、结束进程及提升权限
//#include"
stdafx.h
"#include#include//CreateToolhelp32Snapshot#include//EnumProcessesboolGetPrivileges
福州-司马懿
·
2020-07-09 14:45
#
Windows
API
C++预编译头文件
许多初学VC的朋友也许都为那么一个问题困扰过:为什么所有的cpp都必须#include"
stdafx.h
"也许请教了别的高手之后,他们会告诉你,这是预编译头,必须包含。可是,这到底是为什么呢?
btooth
·
2020-07-09 13:37
待研究
OpenMP并行程序编译执行语句
编译制导指令以#pragmaomp开始,后边跟具体的功能指令,格式如:#pragmaomp指令[子句],[子句]…]parallel:用在一个结构块之前,表示这段代码将被多个线程并行执行;#include"
stdafx.h
bbbbjt
·
2020-07-09 13:22
并行计算
无符号数unsigned short取反
//#include"
stdafx.h
"#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){unsignedshortA=10;printf
报恩的猫
·
2020-07-09 13:45
C语言
汉诺塔算法//printf("%d:%c->%c\n",n,one,three);
//#include"
stdafx.h
"//#includeintmain(){voidhanoi(intn,charone,chartwo,charthree);//对hanoi函数的声明intm;printf
Hustudent20080101
·
2020-07-09 13:22
算法
数据结构与算法
算法
c
input
井号#和2井号##和艾特井号@#的使用
//#include"
stdafx.h
"#include#includeusingnamespacestd;#definef(a,b)a##b//##被称为连接符(concatenation),把宏参数与之前的
隨意的風
·
2020-07-09 12:59
C++基础
结构体的大小与内存对齐规则
内存对齐规则#include"
stdafx.h
"//#pragmapack(8)和环境有关window系统默认为8linux为4#if0内存对齐本质是牺牲空间来换取时间----内存对齐规则:(1):取pack
寂寂寂寂寂蝶丶
·
2020-07-09 12:31
【Windows】关于Windows版本的各个宏
在我们的预编译头文件
stdafx.h
(或者targetver.h)中,需要定义我们的开发的程序目标Windows版本(一般是最低支持版本),看到WINVER、_WIN32_WINDOWS、_WIN32_
mercurygear
·
2020-07-09 12:02
C语言随机发牌
#include"
stdafx.h
"#include#includeintcard[54];//保存每张牌的数字符号boolflag[54];//标记数组false代表这个单元编号的牌没抽过voidshow1
千軍萬馬令諸矦
·
2020-07-09 12:33
C语言
C语言逻辑非运算符的含义
x=(x==0)例子:#include"
stdafx.h
"#includeint_tmain(intargc,_TCHAR*argv[]){intx=3;intiTemp=0;do{printf("%d
LostSpeed
·
2020-07-09 11:13
并行计算—OpenMP—for指令法求和
#include"
stdafx.h
"#include#include#include#includeint_tmain(intargc,_TCHAR*argv[]){omp_set_num_threads
LY_624
·
2020-07-09 11:48
并行计算
并行计算—OpenMP—并行区域法求和
#include"
stdafx.h
"#include#include#include#include#defineNUM_THREADS2int_tmain(intargc,_TCHAR*argv[])
LY_624
·
2020-07-09 11:47
并行计算
上一页
40
41
42
43
44
45
46
47
下一页
按字母分类:
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
其他