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
[置顶] 在VS2015中用C++编写可被其它语言调用的动态库DLL
(2)在Win32应用程序向导对话框中选择【下一步】(3)按下图进行勾选预编译头作用:VS 默认情况下会创建并使用预编译头文件(也就是自动创建
StdAfx.h
和 StdAfx.cpp
songyi160
·
2016-02-27 14:00
C++
dll
VS2015
开发通用DLL
函数声明后面的const用法
// #include"
stdafx.h
" #include usingnamespacestd; classaa{ intnum;
zdhlwt2008
·
2016-02-27 09:00
C++
往文件中写入内容(代码示例)
将字符写入到文本文件中:#include"
stdafx.h
" #include #include usingnamespacestd; intmain() { ofstreamout; out.open
duan19920101
·
2016-02-25 21:00
C++
文件的读取(代码示例)
文件的读取:#include"
stdafx.h
" #include #include usingnamespacestd; intmain() { ifstreamin; in.open("test.txt
duan19920101
·
2016-02-25 21:00
C++
OpenCV求解的矩阵: CvMat与cvSolve函数
// #include "
stdafx.h
" #include #include #include #include "cvaux.h" //必须引此头文
kaka20080622
·
2016-02-25 15:00
设计模式——职责链
基类Employee.h#ifndef__EMPLOYEE_H__#define__EMPLOYEE_H__#include"
stdafx.h
"#includeusingnamespacestd;classCEmployee
cdjzzzz
·
2016-02-25 10:22
C++经典面试
设计模式
职责链
中英文123456789数字和字母之间的相互转换
#include"
stdafx.h
" #include #include #include #include #include #include #include #include #include #
u010141025
·
2016-02-25 10:00
关于C++中智能指针与类型推导的说明
/* *学习智能指针,及自动推导类型 */ #include"
stdafx.h
" #include #include #include //用来测试类型:is_pointer是否是个指针 #include
wyansai
·
2016-02-24 22:00
智能指针
实例讲解C++编程中的虚函数与虚基类
虚函数①#include"
stdafx.h
"#includeusingnamespacestd;classB0//基类B0声明{public:voiddisplay(){coutdisplay();//
孙东
·
2016-02-24 16:20
C 不定长参数使用例
#include"
stdafx.h
" #include #include #include #include #include #include #include #include #include #
w442863748
·
2016-02-24 16:00
c
va_end
va_start
va_list
不定长参数
函数声明后面的const用法
// #include"
stdafx.h
" #include usingnamespacestd; classaa{ intnum; public:
a2415180498
·
2016-02-24 12:00
C++
函数
Const
输出整数的位数和每一位的数字
#include"
stdafx.h
"#include#includeusingnamespacestd;//输出整数的位数和每一位的数字intmain(){intnumber;inti=0;inta[10
cany1000
·
2016-02-24 12:08
C/C++小例子
当某个类含有类指针成员时需注意
需注意:#include"
stdafx.h
"#include#includeclassThird{public:Third(){printf("ThisisThrid'sconstruction!
cjy0000
·
2016-02-24 12:29
C/C++
排序——冒泡排序(Bubble Sort)
// #include"
stdafx.h
" #include usingnames
聂炳玉
·
2016-02-24 00:00
数据结构与算法
求数组的长度
数组作为实参和形参时,长度不同的原因:#include"
stdafx.h
" intadd(inta[],intlen)//此处使用*a,效果一样
duan19920101
·
2016-02-23 21:00
C++
[置顶] 设计模式之职责链
// #include"
stdafx.h
" #include classHan
u012532305
·
2016-02-23 14:00
一个字符串,把奇数放到数组前面,奇数放到数组后面
CSDN学院数据结构算法示例编写//两头向中间查找1.包括※号移动位置.2.数字移动位置3.字符串移动位置,等都可以按照这个办法进行移动,节省时间#include"
stdafx.h
" #include
A_sungirl
·
2016-02-22 14:00
字符串排列组合
输入一个字符串,打印出字符串的多有排列,例如输入字符串abc则打印出字符有a,b,c所有能排列出来的所有字符串abc/acb/bac/bca/cba/cab#include"
stdafx.h
" #include
A_sungirl
·
2016-02-22 14:00
输入一个无序的数组,按照一定的方式输出结果, 要求两个数的相加和为10
学院数据结构算法学习示例//输入一个无序的数组{3,7,8,2,6,7,5,9,9,1},请按照如下的方式输出结果,要求两个数的相加和为10.比如9,1;9;8,2;7,3;7;6 #include"
stdafx.h
A_sungirl
·
2016-02-22 14:00
字符串转成数字
CSDN学员数据结构算法学习#include"
stdafx.h
" #include #include /////////////////////////////////////////////////
A_sungirl
·
2016-02-22 14:00
数据结构
算法
旋转数组的最小值输出
//CSDN学员视频学习数据结构算法示例代码//旋转数组 {1,2,3,4,5}//旋转数组 {3,4,5,1,2} 局部是按顺序排列的#include"
stdafx.h
" #include #include
A_sungirl
·
2016-02-22 14:00
malloc/free与new/delete的区别
#include "
stdafx.h
"#include using namespace std;class Test{public:
duan19920101
·
2016-02-22 11:00
C++
C++学习笔记:=操作符的重载实现
//#include"
stdafx.h
"#include#pragmawarning(disable:4996)usingnamespacestd;className{public:Name&operator
patkritLee
·
2016-02-22 11:25
C++语言
构造函数和析构函数的例子
构造函数和析构函数的例子#include"
stdafx.h
"classtree{intheight;public:tree(intinitalheight);//声明构造函数,如果带有参数,则一般用来初始化变量
c++的新手,移动是我的方向
·
2016-02-22 00:29
初识SVM
代码先贴上来:ViewCode1//testsvm.cpp:Definestheentrypointfortheconsoleapplication. 2// 3 4#include"
stdafx.h
sensensen
·
2016-02-21 14:33
C++ 创建windows 服务
// #include"
stdafx.h
" #include
a379039233
·
2016-02-20 19:00
CreateEvent共享事件对象(进程间共享)
// #include"
stdafx.h
" #include #include usingnamespacestd; HANDLEg_hEvent; DWORDWINAPIfun(LPVOIDpParam
a379039233
·
2016-02-20 18:00
数字图像处理--显示图像矩阵出现的问题
// //#include"
stdafx.h
" #include"iostream" #include"opencv2\opencv.hpp" #include"opencv2/highgui/highgui.hpp
samkieth
·
2016-02-20 15:00
WinCE Overlay - 示例:mosquito
1//mosquito.cpp:Definestheentrypointfortheapplication. 2// 3 4#include"
stdafx.h
" 5#includ
91program
·
2016-02-19 16:00
二分法查找
// #include"
stdafx.h
" #in
rankun1
·
2016-02-19 11:00
折半查找
二分法查找
ADO再C++中的使用
引入ADO打开预编译头文件
StdAfx.h
,写上引
SYP35
·
2016-02-18 15:00
OpenCV---图片生成视频
. */ #include"
stdafx.h
" #include #include #include #include #include #include #pragmacomment(lib,"shlwapi.lib
lcchuguo
·
2016-02-17 14:00
C++ cin.getline()函数的使用
cin.getline()函数作用:接收一个字符串,可以接收空格头文件:#include使用例:#include"
stdafx.h
" #include #include #include #include
w442863748
·
2016-02-17 11:00
C++
getline
cin
cin.getline
ADO数据库编程
------------------------------------------------------------------------------------1、导入ADO动态链接库在工程的
stdafx.h
SYP35
·
2016-02-14 13:00
c++ 动态分配二维数组 new 二维数组
#include"
stdafx.h
" #include usingnamespacestd; int_tmain(intargc,_TCHAR*argv[]) { //建立一个16行5列的数组
张东升
·
2016-02-13 22:00
[置顶] Windows编程之线程同步
// #include"
stdafx.h
" #include #defineTEST_EVENT_NAMETEXT("TEST_EVENT") #defineTEST_MUTEX_NAMETEXT(
u012532305
·
2016-02-13 12:00
Windows核心编程
在纯C工程的main函数之前跑代码(手工找到程序入口点, 替换为我们自己的函数)
. // #include "
stdafx.h
" #include #include /// 程序入口点 00
findumars
·
2016-02-12 21:00
在C++工程中main函数之前跑代码的廉价方法(使用全局变量和全局函数)
. // #include "
stdafx.h
" #include #include /// 在C++工程中main函数之前跑代码的廉价方法 /// 利用全局变量可以赋可变初值的事实
findumars
·
2016-02-12 21:00
POJ水题 1298
#include"
stdafx.h
" #include #include usingnamespacestd; intmain() { stringtol,result; while(
龙鸿轩
·
2016-02-11 21:00
在VisualStudio中嵌入汇编代码
例子#include"
stdafx.h
" intpower2(intnu
kencaber
·
2016-02-08 23:00
汇编
Visual
Studio
吕鑫MFC学习系列四
第一个是Win32工程转换而成MFC工程:建一个win32项目,window应用程序,然后删除了所有函数,只留下主函数,编写过程中转MFC,所以右击项目,选择静态库MFC,然后在
stdafx.h
中用afxwin.h
langb2014
·
2016-02-07 08:00
解决VS2010子目录中的.cpp文件引用上一级目录的
stdafx.h
找不到定义的问题
Source目录 |--
stdafx.h
|--Util目录 |--Util.h |--Util.cpp现在的发现Util.cpp各种变量的定义全是红色波浪线,找不到定义,但是却能够编译过问题就出在
30斤大番薯
·
2016-02-06 13:00
算法:最长上升下降子序列
图解代码#include"
stdafx.h
" constintMAX=105; intdown[MAX],up[MAX]; inth[MAX],n; voidget_up(){ inti,tmp,j;
mengfanrong
·
2016-02-06 11:00
堆排序
//实现堆排序 //CopyRight@vine_branches,22/08/2012 #include"
stdafx.h
" #include"stdio.h" #include usingnamespacestd
u014652390
·
2016-02-05 15:00
C语言
排序算法
友元(friend)
#include"
stdafx.h
"#include#includeusingnamespacestd;classStudent{public:Student(floatc,floate,flo
cany1000
·
2016-02-02 16:47
C++
冒泡排序深入具体解释
一、冒泡排序简单实现(0基础版)#include"
stdafx.h
" #defineOK1 #defineERROR0 #defineTRUE1 #defineFALSE0 typedefintStatus
yxwkaifa
·
2016-02-01 21:00
面试题-Stack的最小值o(1)
2// 3 4#include"
stdafx.h
" 5#include 6usingnamespacestd; 7 8template 9structStack 10{ 11private
HarlanC
·
2016-01-31 11:00
面试题 -二元查找树转变成排序的双向链表
2// 3 4#include"
stdafx.h
" 5#include 6#include 7usingnamespacestd; 8 9template 10structBinaryNode
HarlanC
·
2016-01-31 10:00
算法-最大子序列和
2// 3 4#include"
stdafx.h
" 5#include 6usingnamespacestd; 7intMaxSubsequeSum(constint*A,intN) 8{
HarlanC
·
2016-01-30 13:00
HUD 1029Ignatius and the Princess IV
专题十二基础DP1B-IgnatiusandthePrincessIV题意:第一行输入n,表示有n个元素n小于一百万第二行输入n个元素输出n个元素中出现次数大于二分之n的元素思路打表#include"
stdafx.h
Tony L.Du
·
2016-01-28 11:09
HDU
上一页
74
75
76
77
78
79
80
81
下一页
按字母分类:
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
其他