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"/***最长公共子序列***//*动态规划*/#include#include#include#include#ifndefsize_c#definesize_c200
xianjuke008
·
2020-08-17 17:47
软件设计师
C++11:POD数据类型
有平凡的拷贝构造函数3.有平凡的移动构造函数4.有平凡的拷贝赋值运算符5.有平凡的移动赋值运算符6.有平凡的析构函数7.不能包含虚函数8.不能包含虚基类[cpp]viewplaincopy#include"
stdafx
.h
Enockipp
·
2020-08-17 17:45
C++语言
pod
pod数据类型
C++11
pod
C++11
pod
数据类型
is_trivial
[数值分析]线性方程组求解:Gauss-Seidel迭代法
//#include"
stdafx
.h"#include#include"stdio.h"#include"math.h"voidMatrixPrint(double*arr,constintrow,constintcol
LeeLeeLee钟硕
·
2020-08-17 17:12
数值分析
计算方法
C++ 求平方根
//squareRoot.cpp--2011-08-29-01.04#include"
stdafx
.h"#includedoublesquareRoot(doubleradicand,doubleprecision
Silence-轩辕-寂
·
2020-08-17 15:04
01.
C/C++
字塔识别,opencv最小外接矩形
金字塔识别,opencv最小外接矩形//#include"
stdafx
.h"#include"pch.h"#include#include#include#include#include#include
tiansch
·
2020-08-17 15:44
图像
OpenCV访问网络摄像头并保存实时视频
//#include"
stdafx
.h"//#include"
stdafx
.h"#include#include#include#includeusingnamespacecv;intmain(){//
rj_monck
·
2020-08-17 14:46
LU分解法求方程组
LU公式:#include"
stdafx
.h"#include#includeintmain(){doublep,A[12][12],x[12],L[12][12],R[12][12],b[12],y[
李庆鑫71
·
2020-08-17 14:47
计算机实现数值计算方法
【计算方法】列主元高斯消去
///*实验名称:列主元高斯消去实验时间:2018/4/10实现语言:c++实验环境:VS2017*/#include"
stdafx
.h"#include#include#includeusingnamespacestd
yepoyou
·
2020-08-17 14:57
C++
【C++】命令行方式获取主板序列号
//#include"
stdafx
.h"#if!
胡萝卜yueh
·
2020-08-17 13:02
Windows编程
《计算方法》 李晓红等 第三章 解线性方程组的直接法 例题 代码
#include"
stdafx
.h"#include//解线性方程组的直接法voidPS(doubleA[],intn,char*name);voidGaussXiaoQu(){printf("高斯直接消元法
cyco
·
2020-08-17 12:47
计算机
解线性方程组的完整代码
//#include"
stdafx
.h"#defineM10//矩阵大小#include#include#include#include#includefloathanglieshi(floatarray
daojin505
·
2020-08-17 12:35
J#
C
C++
C#
Opencv调取图片与摄像头(灰屏问题解决)
OpenCV3.0beta一开始我参考的是Augusdi的博文:http://blog.csdn.net/augusdi/article/details/8762961他的代码如下:#include"
stdafx
.h
快刀斩乱竹
·
2020-08-17 12:40
探索心得
不使用c++内置的sqrt,求平方根
今天上一届的学长学姐们面试,遇到一道题目就是不使用内置的求平方根函数求平方根,这里我自己实现了一下,也不叫简单#include"
stdafx
.h"#includeusingnamespacestd;doublemysqrt
JY_He
·
2020-08-17 11:15
初学c++
数据结构算法
求平方根C++
//squareRoot.cpp--2011-08-29-01.04#include"
stdafx
.h"#includedoublesquareRoot(doubleradicand,doubleprecision
Golden_Shadow
·
2020-08-17 11:00
算法
c++
优化
计算方法——C语言实现——高斯消元法求解线性方程组
代码都是上上个星期写的,暂时就不注释了……使用VS2017,代码如下://使用高斯顺序消元法求解线性方程组#include"
stdafx
.h"#include#include"math.h"double
you_big_father
·
2020-08-17 11:52
计算方法
计算方法
C语言
高斯消元法
opencv利用鼠标滑动画出多彩的形状
//#include"
stdafx
.h"#include#includeusingnamespacecv;usingnamespacestd;#defineWINDOW_NAME"【窗口程序】"voidon_MouseHandle
·
2020-08-17 09:13
最大子数组问题的三种方法:分治法、暴力法和非递归方法
//#include"
stdafx
.h"#includeusingnamespacestd;intmain(){//分治法intcalculateMaxSubArray(intarr[],intstart
No One
·
2020-08-17 09:36
算法
自己看
vs2017创建和两种方法使用静态库.lib
创建:新建项目->静态库添加MyLib.h头文件#pragmaoncevoidprintfHello();添加MyLib.cpp源文件#include"
stdafx
.h"#include"MyLib.h
slinace
·
2020-08-17 09:28
循环结构程序设计例题
#include"
stdafx
.h"int_tmain(intargc,_TCHAR*argv[]){inti,a[10];scanf_s("%d,%d,%d,%d,%d,%d,%d,%d,%d,%d"
weixin_34291004
·
2020-08-17 06:03
统计一个01字符串中0,1连续出现的最大次数
//#include"
stdafx
.h"#includeusingnamespacestd;staticvoidstrwe(char*str){intlen=0;while(*str++)len++;/
weixin_34248705
·
2020-08-17 06:02
纯C++的Socket访问Http封装类
2.以下是调用方法:#include"
stdafx
.h"#include#include#include"http/request.h"usingnamespac
Supernova-Wu
·
2020-08-17 05:49
VC/C++
C++ 生成三次贝塞尔曲线
//#include"
stdafx
.h"#include#include#include#defineNUM_STEPS30//越大,曲线越密,越逼近usingnamespacestd;classCvPoint
zy_dreamer
·
2020-08-17 04:21
c++
数据结构算法
以指针给字符串赋值,并利用以指针为形参的函数输出字符串
本段代码利用指针给字符数组进行了赋值,并定义了一个具有指针形参的函数,输出了字符数组(遇到空字符会换行)#include"
stdafx
.h"#include"iostream"usingnamespacestd
悦读格
·
2020-08-17 04:54
Windows编程基础 第十章 组合框 列表框 滚动条 自绘制控件
编程基础第十章组合框列表框滚动条自绘制控件源文件pdf下载地址是:http://yunpan.cn/cdeWCMEFbXBIW访问密码d5d2//本程序用来演示ComboBox#include"windows14.h"#include"
stdafx
.h
yangxuefeng09
·
2020-08-17 04:23
WIN32复习和学习笔记
C++基础(十三)C++的结构体指针中出错:表达式必须是可修改的左值
二、字符数组的赋值只能用strcpy进行赋值附上完整代码:#include"
stdafx
.
我爱AI
·
2020-08-17 04:31
----------
【C++.基础】
孙鑫 VC++深入详解——学习笔记
第1课Windows程序内部运行机制1.MFC生成的C++源文件中都有
StdAfx
.h,此文件包含了常用的AFX函数的声明,其中有afxwin.h,此文件包含了CRECT,CPoint,CWnd等许多类及其方法的声明
先之
·
2020-08-17 04:26
C++
放个LoadLibrary和GetProcAddress
再然后用LoadLibrary的结果填充输入表,达到隐形调用API的目的.32位测试,正规PE文件测试,优化过的不认.出处:本文来自看雪学院.作者:Worker编译平台:VS2005#include"
stdafx
.h
weixin_33928467
·
2020-08-17 03:55
解决mfc编辑框内容写入TXT文件时,自动给每个字符后加入空格问题
如果发现mfc风格发生变化,可以在文件中
stdafx
.h看到如下代码块:#ifdef_UNICODE#ifdefined_M_IX86#pragmacomment(linker,"/manifestdependency
孤独的程序猿啊
·
2020-08-17 02:55
mfc
关于VS的MFC应用程序向导
一直感觉从空项目建立起MFC程序是最干净的,但是这样建立的窗口界面是XP风格的,经过反复对比试验,发现是由于在
stdafx
.h文件中缺少了一点内容:“#ifdef_UNICODE#ifdefined_M_IX86
枷锁龙
·
2020-08-17 02:07
MFC
vc6.0以及VS2010初始化窗口(转载请注明出处,谢谢!!!)
如果读者以后在编程时不想让有些MFC头文件每次都被编译,也可以将它加入到
stdafx
.h中。采用预编译头文件可以加速编译过程。Hello.rc2用于存放VisualStudio不可直接编辑的资源。
滁州千丝万缕
·
2020-08-17 02:38
windows程序设计 王艳平版
//02CreateProcess.cpp文件#include"
stdafx
.h"#include#includeintmain(intargc,char*argv[]){charszCommandLine
pjz969
·
2020-08-17 01:27
API
windows程序设计
第二章
[MFC]MFC程序结构(一)
MFC类库相关的头文件
stdafx
.h:不是类库的头文件,可以称为项目的头文件,在其中包含了一些MFC标准头文件(如:windows.h,afxwin.h),预先编译,以后该工程编译时,不再编译这部分头文件
ouyangshima
·
2020-08-17 01:17
MFC基础
mfc appxxx
//MFCAppxxDlg.cpp:实现文件//#include"
stdafx
.h"#include"MFCAppxx.h"#include"MFCAppxxDlg.h"#include"afxdialogex.h
nigind
·
2020-08-17 01:35
MFC多文档窗口创建 窗口内容同步OnUpdate 14.5.6
//#include"
stdafx
.h"#include"resource.h"classMFCMyDocument:publicCDocument{DECLARE_DYNCREATE(MFCMyDocument
luoqiang0831
·
2020-08-17 01:44
C++
MFC 单文档模板创建CEditView CSingleDocTemplate 14.5.5
//#include"
stdafx
.h"#include"resource.h"classMFCSdiDocument:publicCDocument{public:DECLARE_DYNCREATE(
luoqiang0831
·
2020-08-17 01:44
C++
MFC对话框框架详解
(以下假设工程名为“MyDialog”)头文件中包含MyDialog.h,MyDialogDlg.h,Resource.h,
stdafx
.h,targetve
兔云程序
·
2020-08-17 01:14
mfc
windows程序设计之编写应用程序,当按下鼠标左键并在窗口中移动时,窗口中鼠标所经历的个点颜色设置为黑色
//#include"
stdafx
.h"#include"Windows3.h"#defineMAX_LOADSTRING100#defineMAXPOINTS1000LRESULTCALLBACKWndProc
喜欢Haibara
·
2020-08-17 01:39
编程
【计算机图形学】六、Mandelbrot集
1.算法2.源代码#include"
stdafx
.h"#include"GL/glut.h"#include"stdlib.h"#include"math.h"floatxmin=-2.00,xmax=
iteye_2116
·
2020-08-17 00:24
一个最简单的MFC程序
//MFC的大门
stdafx
.h#include"
stdafx
.h"//继承了CFrameWnd的子类CHelloWindow,主要实现了Window窗口classCHelloWindow:publicCFrameWnd
hzlimeng
·
2020-08-17 00:39
C++
向左走,向右走?
注意:这里的向左向右不是那部电影,这次要讲的是前两天碰到的一个关于C++中左值、右值的问题,请看下面这段代码:#include"
stdafx
.h"#include#includeusingnamespacestd
dounking
·
2020-08-17 00:48
编程语言
c++
reference
iostream
编译器
compiler
class
MFC:关于MFC框架的一系列基本知识和简单理解集合[持续更新中]
一、引用#include“
stdafx
.h"的意义在cpp文件中的头文件引用位置,我们往往会发现这样的语句(而且最好是在其他的应用文件之前)#include"
stdafx
.h"#include"..."
dashumak
·
2020-08-17 00:29
MFC
C++在dll中获取自身路径(非exe调用路径)
#include"
stdafx
.h"#include#include#includeusingnamespacestd;HMODULEGetSelfModuleHandle(){MEMORY_BASIC_INFORMATIONmbi
d_a_r_k
·
2020-08-17 00:51
MFC之CTime类 和 CtimeSpan类的使用
//#include"
stdafx
.h"#include"atltime.h"#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){CTimestrTime
思考者Jack
·
2020-08-17 00:18
MFC
ch6
#include"
stdafx
.h"#include#include#includeusingnamespacestd;//定义名字的值classValue{public:doublesum;intcount
chundie0007
·
2020-08-17 00:00
GDI+自绘按钮,无窗口句柄
#pragmaonce#include"
stdafx
.h"enumbtn_state{nomal,down,up,over};#defineWM_BTN_UPWM_USER+1#defineWM_BTN_DOWNWM_USER
cdg1988
·
2020-08-17 00:10
STL::List的对象存储与释放
#include"
stdafx
.h"#include#includeusingnamespacestd;classMyClass{public:intnMember;int*pMember;public
Horky
·
2020-08-16 23:37
开发语言
动态规划 硬币兑换
//#include"
stdafx
.h"#include#include#include#includeusingnamespacestd;classhh{public:vectorans;vectorcoins
HELLO_蓝猫
·
2020-08-16 23:15
算法
动态规划
ch10
【相关文档】1.size_t、ptrdiff_t#include"
stdafx
.h"#include#include#include#include//forrand()usingnamespacestd
chundie0007
·
2020-08-16 23:10
c++输入n个数,求最大值和最小值
#include“
stdafx
.h”#includeusingnamespacestd;intmain(){intn,min,max,k;cin>>n;cout>k;max=min=k
weixin_43210805
·
2020-08-16 22:41
大数运算之100的阶乘(C语言实现)
晚上折腾了一下100阶乘的运算,用C语言实现了一个,原理很简单,就是将大数拆分然后存储在数组中,只要数组开得够大,求200或者更大的阶乘都应该没问题,代码如下:#include"
stdafx
.h"voiddgCal
wangqiuyun
·
2020-08-16 21:37
算法
上一页
22
23
24
25
26
27
28
29
下一页
按字母分类:
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
其他