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
C++内存查找实例
//#include"
stdafx.h
"#includeBOOLFindFirst(DWORDdwValue);BOOLFindNext(DWORDdwValue);HANDLEg_hProcess
·
2019-09-23 19:03
C++实现二维图形的傅里叶变换
//#include"
stdafx.h
"#include"stdio.h"#include"math.h"#include#include#include"cxcore.h"i
·
2019-09-23 18:14
VC++角色游戏中的人物初始化模块代码实例
#include"
StdAfx.h
"#include"Character.h"CCharacter::CCharacter(void){}CCharacter::~CCharacter(v
·
2019-09-23 18:42
C++遗传算法类文件实例分析
具体代码如下所示:#include"
stdafx.h
"#include#include#include#include#include//把日期和时间转换为字符串usi
·
2019-09-23 18:09
C语言图书借阅系统源码
本文实例为大家分享了C语言图书借阅系统的具体代码,供大家参考,具体内容如下#include"
stdafx.h
"#include"stdio.h"#include"conio.h"#include"string.h
·
2019-09-23 02:30
C/C++ 进程通讯(命名管道)的实例
//#include"
stdafx.h
"#include#include#includeintmain(intargc,_TCHAR*argv[]){srand(time(NULL));charbuf[
·
2019-09-22 23:15
C++连接mysql的方法(直接调用C-API)
#include"
stdafx.h
"#include#include#include"mysql.h"//#pragmacomment(lib,"ws2_32.lib")#pragmacomment(lib
·
2019-09-22 22:07
C++ 双链表的基本操作(详解)
结构图如下所示:2.基本操作实例DoubleList.cpp#include"
stdafx.h
"#include"DoubleList.h"#include#include#includeD
·
2019-09-22 20:22
vector list map 遍历删除制定元素 防止迭代器失效的实例
//#include"
stdafx.h
"#include"stdio.h"#include#include#include#includeusingnamespacestd;int_tmain(intargc
·
2019-09-22 18:40
浅谈c++ vector和map的遍历和删除对象
#include"
stdafx.h
"#include#include#includeusingnamespacestd;intmain(intargc,char*argv[]){printf("HelloWorld
·
2019-09-22 18:39
c语言实现把文件中数据读取并存到数组中
//#include"
stdafx.h
"intreadfile1D(){chara[100];inti;FILE*fp=fopen("1.txt","r");if(fp==NULL){printf("文件读取无效
·
2019-09-22 18:02
Lua编程示例(六): C语言调用Lua函数
C++端:#include"
stdafx.h
"lua_State*L;voidload_lua(lua_State**L,char*filename){*L=luaL_newstate();luaL_openlibs
·
2019-09-22 16:53
016 生成随机数
#include"
stdafx.h
"#include#include//生成随机数-100到200intmain(intargc,char*argv[],char**envp){srand((unsigned
汁虫
·
2019-09-19 22:00
C++生成不重复的随机整数
#include"
stdafx.h
"#include#include#include#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*
pythontojava
·
2019-09-18 14:23
C语言编程小技巧
//#include"
stdafx.h
"#include#includeusingnamespacestd;boolIsPowOf2(intnum){boolret=false;if((num>0)
SlowIsFastLemon
·
2019-09-17 09:38
所学所思所想
012 const
/*目录:一const赋值二const改值三应用*/const1编译时检查2运行时检查-const全局变量一const赋值//const赋值-全局变量#include"
stdafx.h
"constdoublePI
汁虫
·
2019-09-14 14:00
011 预处理 #define
typedef原理:用于类型重定义//注意区别:#definetypedef#include"
stdafx.h
"#include#definePDATAint*typedefstructSNode{intnNum
汁虫
·
2019-09-14 11:00
009 预处理 #pragma once; typedef; #ifdef
#pragmaonce为了避免同一个文件被include多次,C/C++中有两种方式,一种是#ifndef方式,一种是#pragmaonce方式二typedef//给类型/结构取别名#include"
stdafx.h
"typedefchar
汁虫
·
2019-09-11 20:00
008 区别 : NULL nullptr
本质#ifndefNULL#ifdef__cplusplus#defineNULL0#else#defineNULL((void*)0)#endif#endif二:nullptr本质#include"
stdafx.h
汁虫
·
2019-09-11 19:00
warning C4995: strcat name was marked as #pragma deprecated
有文章介绍说:在你的工程的预编译头文件(一般来说,就是
stdafx.h
)中,在#pragmaonce一行后面加上下列三行:1.#define_CSTDIO_2.#define_CSTRING_3.
柳鲲鹏
·
2019-09-11 14:35
Visual
Studio/QT
C++ register关键字作用
示例代码:#include"
stdafx.h
"usingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){//clock_tstarttime,endtime,
giser_d
·
2019-09-09 17:03
C++
循环
while循环:先判断再执行例:头文件“”一般是自己定义的,在系统目录下找""在当前目录下找#include#include"
stdafx.h
"#include"iostream"#includeusingnamespacestd
Manuel
·
2019-09-07 14:00
【数据结构学习笔记】数组
1#include"
stdafx.h
"2#include3usingnamespacestd;4#definemaxSize10056//length要改变使用引用类型7intinsertElem(intsqList
霓裳梦竹
·
2019-08-20 10:00
函数指针2种基础用法实例以及介绍
函数指针的2种形式:1、格式:(返回值类型)(*函数名)(参数列表)例:#include"
stdafx.h
"#include//定义一个指针变量function,它指向一个参数是2个int类型,返回值是
执笔乄画浮生
·
2019-08-19 13:09
c++笔记
内核定时器
#include"
stdafx.h
"#include#includeVOIDCALLBACKTimerRoutine(PVOIDlpParam,BOOLEANTimerOrWaitFired){printf
冰雪满天
·
2019-08-16 11:19
VC++
使用迭代器从map或vector中删除元素
std:map的迭代器:删除时只影响当前元素#include"
stdafx.h
"#includestd::mapm;intmain(){m[1]=10;m[2]=100;m[3]=1000;std::map
皓月如我
·
2019-08-16 10:31
c++
利用LdrLoadLibrary加载与隐藏DLL (绕过API HOOK LoadLibrary)
原文链接:https://blog.csdn.net/wangningyu/article/details/22748019//#include"
stdafx.h
"#includetypedefstruct_UNICODE_STRING
Shirley068
·
2019-08-16 09:09
C++中静态成员函数和普通成员函数存储方式相同
1#include"
stdafx.h
"2#include3#include45usingnamespacestd;67classTest8{9public:10staticinta;11voidfunc1
skytcat
·
2019-08-12 14:00
C++ build报错 - C1010
是否忘记了向源中添加“#include"
stdafx.h
"”?
张中华
·
2019-08-09 08:44
C++ build报错 - C1010
是否忘记了向源中添加“#include"
stdafx.h
"”?
中华·张
·
2019-08-09 08:00
OpenGl(二)鼠标绘制图形
#include"
stdafx.h
"#include#defineN1000//maximumlinenumbersintww,hh;//fordisplaywindowwidthandheightintline
走在冷风中c
·
2019-08-07 23:46
OpenGl
OpenGl(一)绘制第一个窗口
随着工作的深入,越来越理解到图形学的重要了,,,有必要从零开始学习了,,,,//样本程序My_first_program.cpp#include"
stdafx.h
"#includevoiddisplay
走在冷风中c
·
2019-08-06 23:21
OpenGl
C++乒乓球比赛
两个乒乓球队进行比赛,各处三人,甲队为ABC,乙队为XYZ,其中A不和X比赛,C不和X,Z,比赛,找出三队赛手的名单#include"
stdafx.h
"#includeusingnamespacestd
HadwinLing
·
2019-07-29 15:42
类中成员变量的创建与回收顺序问题
直接上代码,一共三个类:#pragmaonceclassCVar{public:CVar(void);CVar(intnNum);~CVar();private:intm_nNum;};#include"
stdafx.h
LL596214569
·
2019-07-21 22:14
C++
完全不用递归解汉诺塔(65个盘子——VC6代码)
////by陈墨仙2019-07-18//完全不用递归解汉诺塔#include"
stdafx.h
"#includeinth[34];//为了便于理解,0号元素不用,33个盘子inta[4][34];intb
逆向菜鸟
·
2019-07-18 20:31
算法
C++实现推箱子小游戏源码
//#include"
stdafx.h
"#include#include#defineKEY_DOWN(vk_code)GetAsyncKeyState(vk_code)&0x8000?
小水瓶和大水瓶
·
2019-07-12 14:41
vs错误【C1083 C1854 C4727】的若干解决办法
http://hi.baidu.com/andywangcn/blog/item/7d8da5072516fc7003088172.html注:我是使用修改预编译头的方式解决了C1083的错误,找不到
stdafx.h
F_hawk189
·
2019-07-04 10:41
Win7启动承载网络的方式(代码)
源文件://WIFIMAIN.cpp:实现文件////#include"
stdafx.h
"#include"pch.h"#include"WifiShareTool.h"#include"WIFIMAIN.h
chlbd
·
2019-07-04 10:44
Windows开发
C语言二进制读写文件
#include"
stdafx.h
"#include#includeusingnamespacestd;typedefstructA{inta;intb;A(intx,inty){a=x;b=y;}A(
聂晓白
·
2019-07-02 09:22
C语言
C++ 获取任务栏图标信息
#include"
stdafx.h
"#include#include#includeBOOLCALLBACKEnumTaskbarWnds(HWNDhwnd,LPARAMlParam){WCHARszClass
LeiLv
·
2019-06-22 13:58
C++ 获取任务栏图标信息
#include"
stdafx.h
"#include#include#includeBOOLCALLBACKEnumTaskbarWnds(HWNDhwnd,LPARAMlParam){WCHARszClass
LeiLv
·
2019-06-22 13:58
EXCEL2016 OLE/COM开发-常用功能封装代码
hpp1#pragmaonce2#include"
stdafx.h
"3#include"CApplication.h"4#include"CWorkbook.h"5#include"CWorksheet.h
Caesar卢尚宇
·
2019-06-19 21:00
VC++预编译头文件 –
stdafx.h
的作用是什么?
转载文章:http://www.zyh1690.org/c-the-precompiled-header-files-stdafx-h/预编译头文件的由来也许请教了别的高手之后,他们会告诉你,这是预编译头,必须包含。可是,这到底是为什么呢?预编译头有什么用呢?咱们从头文件的编译原理讲起。其实头文件并不神秘,其在编译时的作用,就是把自己的所有内容直接“粘贴”到相应的#include语句处。其实,编译
libaineu2004
·
2019-06-11 13:37
C/C++
VC++/MFC
C语言控制台小游戏,打砖块
C语言控制台小游戏,打砖块这个问题是我在领扣上面看到的一道困难问题,原题是这样的:#include"
stdafx.h
"#includeinta[10][10]={{0,0,1,0,0,0,0,0,1,0
锦鲤金叔叔
·
2019-06-06 11:55
OpenGL基础代码整理
//#include"
stdafx.h
"voidinit(void){glClearColor(1.0,1.0,0.0,0.0);glMatrixMode(GL_PROJECTION);gluOrtho2D
fishers
·
2019-06-04 22:00
Libevent---bufferevent读取数据
//#include"
stdafx.h
"#include"winsock2.h"#include"event.h"#include"event2/listener.h"#include"event2/bufferevent.h
小米的修行之路
·
2019-06-04 16:31
神经网络与机器学习 笔记—Rosenblatt感知器收敛算法C++实现
关于双月分类相关看之前的那个笔记:https://blog.csdn.net/u013761036/article/details/90548819直接上实现代码:#pragmaonce#include"
stdafx.h
TK13
·
2019-05-25 21:32
神经网络与机器学习
Open Cascade创建自己的MFC文档程序
项目初始设置在Visualstudio中创建一个单文档MFC项目(本例以MFCTest为名称):在项目属性的VC++页面设置包含目录、库目录,在链接器的输入中添加OCC库目录下的所有.lib文件名称添加头文件在
stdafx.h
余生以学
·
2019-05-25 13:00
C++矩阵的基本运算方法
//#include"
stdafx.h
"#includeusingnamespacestd;templateclassmatrix{public:matrix(inttheRows=0,inttheCols
FreedomExpect
·
2019-05-17 11:42
C++版数据结构
VS2017下C++ 生成dll
//#include"
stdafx.h
"#include"CreatDemo.h"intDemo
JT灬新一
·
2019-05-13 20:44
C++
上一页
58
59
60
61
62
63
64
65
下一页
按字母分类:
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
其他