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++枚举类
枚举类的优势1、强作用域,其作用域限制在枚举类中e.g.使用Type的枚举值General:Type::General2、转换限制,枚举类对象不可以与整形隐式地互相转换3、可以指定底层类型三、#include"
stdafx
全都是泡饃
·
2020-08-25 05:11
C++
从零开始学习C++
VS编译常见错误枚举01
fatalerrorC1189:#error:Thisfilerequires_WIN32_WINNTtobe#definedatleastto0x0403.Value0x0501orhigherisrecommended.在
stdafx
.h
weixin_34190136
·
2020-08-25 05:55
面试题:砝码问题
直接上答案:#include"
stdafx
.h"#include#include#include#include#include#include#include#include#includeusingnamespacestd
傻X
·
2020-08-25 04:48
C/C++
面试题:大小交换
还是比较基础的面试题:#include"
stdafx
.h"#include#include#include#include#include#include#include#includeusingnamespacestd
傻X
·
2020-08-25 04:17
C/C++
用指针输出二维数组
#include"
stdafx
.h"#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){inta[3][4]={1,2,3,4,5,6,7,8,9,10,11,12
龙少爷_阿呆
·
2020-08-25 03:56
C++
奇偶数分离
奇偶数分离描述有一个整型偶数n(2#include"
stdafx
.h"#includeintmain(){intm;scanf("%d",&m);while(m--)//这里确定输入几组数据{inti,
foreverhuylee
·
2020-08-25 03:22
我的ACM练习
反转一个字符串
//#include"
stdafx
.h"#include//、反转一个字符串。
Hustudent20080101
·
2020-08-25 02:10
算法
多个类的DLL封装及调用
[cpp]viewplaincopy#defineFaceLIBDLL#include"
stdafx
.h"#include"facedll.h"#include//头文件中函数的实现FaceRecognizer
weixin_34327761
·
2020-08-25 01:14
《计算方法》 李晓红等 第二章 解非线性方程(组) 例题 代码
#include"
stdafx
.h"#include//解非线性方程(组)doublefvalue(doublex){return(x*x*x-2.5*x+1);}//例1,对分法求解三次方程x^3-2.5x
cyco
·
2020-08-25 00:55
计算机
简单 TCP UDP server client
UDP:server#include"
stdafx
.h"#include#include#pragmacomment(lib,"WS2_32.lib")voidmain(){WORDwVersionRequested
冷月宫主
·
2020-08-25 00:15
C++
win32调色器源码
//#include"
stdafx
.h"#include"Color2.h"#defineMAX_LOADSTRING100//全局变量:HINSTANCEhInst;//当前实例TCHARsz
Pansy``
·
2020-08-25 00:42
windows程序设计--colors1程序
//#include"
stdafx
.h"#include"COLORS1.h"#defineMAX_LOADSTRING100//GlobalVariables:HINSTANCEhInst;//currentinstanceTCHARszTitle
Ronal_Lee
·
2020-08-25 00:56
Window程序设计(书)
MyMFC(10-11)绘图控制和保存 SettingDlg
//SettingDlg.cpp:实现文件//#include"
stdafx
.h"#include"MyMFC4.h"#include"SettingDlg.h"#include"afxdialogex.h
奋飞的蜗牛
·
2020-08-25 00:16
MFC
关于如何在VC中操作Word,以判断文档是否加密
具体的解决分下面几步:1、在VC中引入office组件库,把下面的代码放入到
stdafx
.h中:#imp
china_bai
·
2020-08-24 21:46
.NET开发
文档
加密
office
application
vb
vba
过滤release下因异常而弹出的对话框
debugreport.h#pragmaoncevoidInitReporter(constchar*pszSavePath);debugreport.cpp#include"
StdAfx
.h"#include
aXu
·
2020-08-24 21:24
转载技术文章
ACE_Hash_Map的使用示例
//#include"
stdafx
.h"#include"ACE/Basic_Types.h"#include"ACE/Map_Manage
Stone
·
2020-08-24 21:36
2.1
ACE
Newbies'
Guide
一个简单的多线程题目
//#include"
stdafx
.h"#include#includeCRITICAL_S
Handsomslow
·
2020-08-24 21:31
C++
多线程
c语言
线程
冒泡排序深入详解
一、冒泡排序简单实现(初级版)#include"
stdafx
.h"#defineOK1#defineERROR0#defineTRUE1#defineFALSE0typedefintStatus;#defineMAXSIZE10000
M_Zhangjb
·
2020-08-24 18:42
数据结构
平面方程拟合计算
其程序代码如下:#include"
stdafx
.h"#include#include#include#defineMAX10voidInverse(double*matrix1[],double*matrix2
zang141588761
·
2020-08-24 18:50
图像处理算法
WINDOWS下内存泄漏检测工具VLD(Visual Leak Detector)的使用
目录)添加到VS的附加库目录,无需手动添加include目录和lib目录VLD使用:通常在main函数所在的CPP文件中include即可运行程序,退出后产生检测报告注意事项:1如果有include"
stdafx
.h
xupeng1644
·
2020-08-24 18:40
工具
C++ 11常用特性
#include"
stdafx
.h"#include#include#includeusingnamespacestd;autoaddTest(inta,intb){returna+b;}intmain
举头看-啊-明月
·
2020-08-24 17:59
C++
查看C++源文件的预处理结果
首先有一个简单的cpp文件如下:#include"
StdAfx
.h"#include"TestMacro.h"#include"iostream"usingnamespacestd;TestMacro:
weixin_34270606
·
2020-08-24 17:46
集合的运算
实现集合的交并补运算;采用链表数据结构.1#include"
stdafx
.h"2#include3#include45typedefstructLNode//定义结构体类型指针6{7chardata;8structLNode
weixin_33709219
·
2020-08-24 17:40
Windows核心编程:第12章 纤程
//#include"
stdafx
.h"#include"第12章纤程.h"LPVOIDg_Covert=nullptr;DWORDg_index=0;VOIDWINAPIFiberFun(LPVOIDlpFiberParameter
weixin_30263277
·
2020-08-24 16:36
OpenCV图像内轮廓填-孔洞填充
[cpp]viewplaincopy//test#include"
stdafx
.h"#include"cxcore.h"#include"cv.h"#include"highgui.h"//内轮廓填充/
傲慢的上校-东北
·
2020-08-24 16:06
opencv
OCI 连接池测试
#include"
stdafx
.h"#include"ocilib.h"#include#include#include#include#include#include#includeusingnamespacestd
frozen_flash
·
2020-08-24 16:52
oracle
opencv提取外部轮廓并在外部加矩形框
程序中具体的步骤为:(1)灰度化、二值化(2)图像膨胀(3)检测膨胀图像的边缘并叫外矩形框实现代码如下:#include"
stdafx
.
修炼打怪的小乌龟
·
2020-08-24 16:00
MFC 宏定义小技巧
如下图,可以在红色框框的地方进行宏定义,这样子就可以根据不同的项目配置,去定义不同的宏,以此来达到版本区分控制的效果,不用每次都到
stdafx
中去手动修改,实际编码中非常实用的哦~
Charles_exexex
·
2020-08-24 15:54
工作笔记
已知三点,求该平面,判断第4点是否在该平面上
//#include"
stdafx
.h"#include#includetypedefstructPoint{doublex;doubley;doublez;};booljudgeAngel(Pointp1
mysmnyc
·
2020-08-24 15:21
Sniffer原理实现的代码
在project->setting->link->object/librarymodules:添加Ws2_32.lib库文件在
stdafx
.h文件中:#include#inclu
lxpcgh
·
2020-08-24 14:34
VC写的一个有问题的游戏DEMO的代码,希望高手帮我看看
//#include"
stdafx
.h"#include"demo.h"#include#defineMAX_LOADSTRING100//全局变量:HINSTANCEhInst;//当前实例TCHARszTitle
lewislau
·
2020-08-24 14:02
WINODWS程序开发
我的第一次window API编程
#include"
stdafx
.h"#includeintWINAPIWinMain(HINSTANCEhInsstance,HINSTANCEhPrevInstance,PSTRnszCmdLine,
jiliaodemeng
·
2020-08-24 14:44
OpenCV学习笔记(3):点集的最小外接矩形/圆,RNG类
#include"
stdafx
.h"#include"opencv2/opencv.hpp"#includeusingnamespacecv;usingnamespacestd;intmain(intargc
csdnwei
·
2020-08-24 12:21
OpenCV学习笔记
OpenCV最小外接正矩形
最小外接正矩形cvBoundingRect(contour,1)#include"
stdafx
.h"#include"cv.h"#include"highgui.h"#include"cxcore.h"
fancy_MSF
·
2020-08-24 12:38
OpenCV
OpenCV最小外接矩形
cvMinAreaRect2(contour,storage)最小外接矩形#include"
stdafx
.h"#include"cv.h"#include"highgui.h"#include"cxcore.h
fancy_MSF
·
2020-08-24 12:06
OpenCV
11.链表的增删改查的简单使用
#include"
stdafx
.h"#include#include#include//1.链表结点类型structnode{intdata;structnode*next;};//起别名typedefstructnodeNODE
_OKfine.
·
2020-08-24 11:46
求全排列(无重复字母)
//#include"
stdafx
.h"#include#includeintn=0;voidswap(char*a,char*b){charm;m=*a;*a=*b;*b=m;}voidperm(charlist
weixin_30675247
·
2020-08-24 10:38
单链表的修改和删除
单链表建立和单链表的插入完了以后,如果要对链表进行修改和删除,用以下代码:#include"
stdafx
.h"#include#includeusingnamespacestd;structStudent
凡旭国
·
2020-08-24 10:14
C/C++知识库
C++入门经典-例3.23-使用嵌套循环输出乘法口诀表
//#include"
stdafx
.h"#include#includeusingnamespacestd;voidmain(void){inti,j;i=1;j=1;for(i=1;i<10;i++)
一串字符串
·
2020-08-24 08:27
C++
c++ 读取csv文件
#include"
stdafx
.h"#include#include#includeusingnamespacestd;intmain(intargc,char*argv[]){ifstreamfile
jxusthusiwen
·
2020-08-24 08:18
boost的posix_time用法详解01
//madebydavidsu33//2014-5-11//theusageofposix_time#include"
stdafx
.h"#include#include#includeusingnamespacestd
davidsu33
·
2020-08-24 08:11
c++
boost
利用DLL在进程间共享数据
mark一下怕以后又忘记了Dll代码:#include"
stdafx
.h"#includeintglobalint=0;BOOLAPIENTRYDllMain(HANDLEhModule,DWORDul_reason_for_call
cqupt_chen
·
2020-08-24 08:52
杂乱无章
用boost的asio+deadline_timer实现一个循环定时器
#include"
stdafx
.h"#includeusingnamespacestd;usingnamespaceboost
蟾宫伐桂
·
2020-08-24 08:08
boost经验
进程间通信——共享内存(CreateFileMapping+MapViewOfFile)
//#include"
stdafx
.h"#includeBOOLSend(){//创建FileMapping对象HANDLEhMapObject=CreateFileMapping(INVALID_HAN
hambaga
·
2020-08-24 07:27
Windows
DFS 遍历数组所有可能存在的出栈顺序
//#include"
stdafx
.h"#include"stack"#include"stdio.h"#include"iostream"#include"vector"usingnamespacestd
watkins
·
2020-08-24 07:29
c++
C++:共享内存(进程间通讯)(转载)
#include"
stdafx
.h"05.06.#include07.#include08.#pragmaendregion09.#d
蜗牛love天空
·
2020-08-24 07:09
其他
C++入门经典-例3.22-循环嵌套打印三角形
//#include"
stdafx
.h"#includeusingnamespacestd;voidmain(){inti,j,k;for(i=1;i<=5;i++)//控制行数{for(j=1;j<=
一串字符串
·
2020-08-24 06:33
C++
【C++】使用共享内存实现进程间通信
//#include"
stdafx
.h"#include#include#pragmaendregion#defineMAP_PREFIXL"Local\\"#defineMAP_NAMEL"SampleMap
Taily老段
·
2020-08-24 06:44
编程语言
win32练习-信号量
//#include"
stdafx
.h"#include"Semaphore.h"#include#include#defineMAX_LOADSTRING100HANDLESemaphore;DWORDWINAPIThread
alick
·
2020-08-24 06:30
win32练习
练习代码
八皇后问题C语言解法(递归、回溯)
#include"
stdafx
.h"#include"stdlib.h"intplace[8]={0};//用来记录当前行的皇后在第几列boolflag[8]={1,1,1,1,1,1,1,1};//那一列有皇后占领
zjtwxws
·
2020-08-24 06:58
C语言
上一页
14
15
16
17
18
19
20
21
下一页
按字母分类:
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
其他