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
Visual C++编程实现测试CPU的速度
//CPUSpeedDlg.cpp:implementationfile//#include"
stdafx.h
"#include"CPUSpeed.h"#include"CPUSpeedDlg.h"#ifdef_DEBUG
Jacky_Dai
·
2020-07-09 11:10
VC++/C++
Windows互斥锁的使用
//#include"
stdafx.h
"#include"InterlockedIncrementUse.h"usingnamespacestd;ULONGg_count=0;std::_Mutexg_mutex
Giser_D
·
2020-07-09 10:40
C++
c++ 局部变量在函数的释放顺序是什么?
#include"
stdafx.h
"#includeusingnamespacestd;classCTestA{public:CTestA(){cout<<"CTestA()\n";}~CTestA()
小青峰_jd
·
2020-07-09 08:53
C++学习笔记
c++一个数组的求和
#include"
stdafx.h
"#includeusingnamespacestd;intaddarray(int*array,intn);intmain(){intdata[]={0,1,2,3,4,5,6,7,8,9
梦游--
·
2020-07-09 05:43
智能指针——c++primer第五版12章——个人总结
//#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;//名字空间,不然使用的时候写std::shared_ptrintmain
zhangbo_0323
·
2020-07-09 05:28
c++
CList的用法理解
1、包含头文件Afxtempl.h在你要使用CList链表类的地方,使用#include,或者直接在
stdafx.h
中包含这句。
曾经一片
·
2020-07-09 04:03
OpenGL 画出五角星
第一次尝试做一个图形,这里难度主要在于三角函数的运算#include"
stdafx.h
"#include#includeconstGLfloatPi=3.1415926536f;voiddrawStar
yy763496668
·
2020-07-09 04:44
OpenGL
Printing 1 to 1000 without loop or conditionals(学习std::copy())
#include"
stdafx.h
"#include#include#includestructnumber_iterator{typedefstd::input_iterator_tagiterator_category
MrEnginx
·
2020-07-09 03:53
批处理在文件行首添加内容
基本思路是文件内容copy,如下所示:echo#include"
stdafx.h
">$for/f"delims="%%iin('dir/bCChatSvrConfDesc.cpp')do(copy/b$
帘卷西风
·
2020-07-09 03:10
系统运维
Cmake在windows支持预编译头文件(
stdafx.h
)
最近一直在研究cmake构建项目,之前接触cmake的时候就感觉不太喜欢cmake,觉得它太乱了,产生了太多的中间文件,产生的项目文件也不是特别友好,在windows下,生成的项目文件经常需要修改,而在linux和常规的makefile风格也打不一致,文件太多,不方便学习研究。不够经过这段时间系统的研究,觉得cmake还是非常强大的,吃透之后它的确非常方便,比手工写makefile要简单的多,因此
帘卷西风
·
2020-07-09 03:10
系统运维
【ICE】 ICE通信框架 - hello world
//#include"
stdafx.h
"//ICE.cpp:定义控制台应用程序的入口点。//#include"s
YYtengjian
·
2020-07-09 03:44
项目
系统/网络
C++
[VS2010]简易电子钢琴
#include"
stdafx.h
"#include"PIANO.h"#include#include#include#pragmacomment(lib,"Winmm.lib")//音乐播放#include"SkinH.h
逸雨清风
·
2020-07-09 02:22
[VS2010]
简单的TCP客户端发包工具
//#include"
stdafx.h
"#include"TCPClient.h"#include"TCP
开发农民
·
2020-07-09 02:10
Windows应用层开发
网络编程
MFC中用Ado连接数据库
1.在
StdAfx.h
头文件中加入此句子#i
xiebingsuccess
·
2020-07-09 01:34
网易博客搬迁之PC软件开发
socket发送和接收固定长度数据的函数
#include"
stdafx.h
"#include"ATLComTime.h"#include"Functions.h"#include#pragmacomment(lib,"rpcrt4.lib")
萧戈
·
2020-07-09 01:36
C/C++
openGL键盘控制三角形旋转
#include"
stdafx.h
"#include#include"gl.h"#include"glut.h"//确定多边形绕法boolbWinding=TRUE;//旋转参数staticGLfloatxRot
xiaosidi
·
2020-07-09 01:14
openGL绘制太阳系
#include"
stdafx.h
"#include#include"gl.h"#include"glut.h"#include#include//行星GLfloatrot0=30.0;GLfloatrot1
xiaosidi
·
2020-07-09 01:14
openGL绘制点,线
#include"
stdafx.h
"#include#include"gl.h"#include"glut.h"//渲染场景voidRenderScene(void){glClear(GL_COLOR_BUFFER_BIT
xiaosidi
·
2020-07-09 01:14
openGL时钟绘制
#include"
stdafx.h
"#include#include"glut.h"#include"gl.h"#include#includeintwidth=500;intheight=500;intradius
xiaosidi
·
2020-07-09 01:14
MFC使用ADO连接数据库的类。
MFC使用ADO连接数据库的类下面是代码#include"
StdAfx.h
"#include"ADOConnect.h"/////////////////////////////////////////
明年十八岁
·
2020-07-09 01:47
数据库
MFC
C++连接msyql数据库-静态编译(mysql-connector-c++)
1800”不匹配值“1900”)//包含文件:mysql-connector-c++的include与boost的根目录//lib包含:mysqlcppconn-static.lib#include"
stdafx.h
刀剑の神君
·
2020-07-09 01:29
CC++
Speex 音频编解码 示例
//#include"
stdafx.h
"#include#include#include#include#include#pragmacomment(lib,"libspeexdsp.lib")#defineFRAME_SIZE160intmain
wmnmtm
·
2020-07-09 00:01
C++ Primer 第五版 课后章节练习答案 第一、二章
#include"
stdafx.h
"#includeintmain(){intsum=0,val=50;while(valintmain(){inti=10;while(i>=0){std::coutintmain
Cptbtptp333
·
2020-07-08 21:00
c++
MFC与SQL Sever的连接
MFC与SQLSever的连接方式有多种,我用的是ADO1.首先要导入ADO动态链接库:在
stdafx.h
头文件中导入如下:#import"C://ProgramFiles//CommonFiles//
WXF明
·
2020-07-08 21:20
MFC
MFC新建Access数据库和表(vs2015+Access2016)
1.准备工作(1)把下面两局代码写进
stdafx.h
里。位置是倒数第二行,或者#include//MFC自动化类这句的后面。
weixin_42792014
·
2020-07-08 20:43
文件操作
map
//#include"
stdafx.h
"#include#includeusingnamespacestd;voidtest01(){mapm;m.insert(pair(1,10));m.insert
weixin_41375103
·
2020-07-08 19:36
c++
c++基本操作
自定义命名空间#include"
stdafx.h
"#includeusingnamespacestd;namespacesss{intg_a=10;}intmain(void){usingnamespacesss
weixin_41375103
·
2020-07-08 19:36
c++
谓词,匿名函数
//#include"
stdafx.h
"#include#include#includeusingnamespacestd;classGreater20{public:booloperator()(intval
weixin_41375103
·
2020-07-08 19:46
c++
函数对象
//#include"
stdafx.h
"#includeus
weixin_41375103
·
2020-07-08 19:46
c++
关于c++拷贝构造函数及应用场景,const char[3] 转换为char * strcpy strcpy_s
//#include"
stdafx.h
"#include#includeusingnamespacestd;classtest{public:test(intx,inty){m_x=x;m_y=y;}voidprint
weixin_41375103
·
2020-07-08 19:46
c++
内建函数对象使用,适配器使用
//#include"
stdafx.h
"#include#include#include#includeusingnamespacestd;classMyconpare{public:booloperator
weixin_41375103
·
2020-07-08 19:46
c++
c++内联函数
//#include"
stdafx.h
"#includeusingnamespacestd;inlinevoidprintab(inta,intb)//内联函数没有压栈出栈了//适用于代码较少且频繁使用
weixin_41375103
·
2020-07-08 19:46
c++
C++二进制转十进制源代码
//#include"
stdafx.h
"#include#includeusingnamespacestd;intpower(inta,intb){intval=1;for(inti=0;i>a;intdec
全都是泡饃
·
2020-07-08 19:51
基于VS2019多线程上传下载器
#include#include"
stdafx.h
"#include"network.h"//UDP网络编程int_tmain(intargc,char*argv[]){interrCode=0;errCode
Gabriel_Tian
·
2020-07-08 18:02
C++
编写将两个多项式相加的函数
数据结构与算法分析——C语言描述习题3.6#include"
stdafx.h
"#include"Polynomial.h"intmain(){PolynomialP;P=(Polynomial)malloc
Wenjian96
·
2020-07-08 18:44
算法
OpenGL 彩色三角形
#include"
stdafx.h
"#include#include#include#include#include#include#include#includeusingnamespacestd;voidframebuffer_size_callback
weixin_34224941
·
2020-07-08 17:29
第三讲:TCPServer和TCPClient的代码及解析
独角兽企业重金招聘Python工程师标准>>>下面是TCPServer项目里面的tcpServer.cpp的代码//作者:刘日辉//时间:2019-5-9//用途:TCP服务器端代码#include"
stdafx.h
Msro
·
2020-07-08 17:02
Ring 3层枚举进程的四种方法
//#include"
stdafx.h
"#includ
weixin_33858485
·
2020-07-08 15:52
openGL 六边形
#include"
stdafx.h
"#include#include#includeconstdoubleTWO_PI=6.2831853;/*Initialdisplay-windowsize*/GLsizeiwinWidth
weixin_30652271
·
2020-07-08 14:36
C/S模型之UDP协议
#include"
stdafx.h
"#include#include#pragmacomment(lib,"WS2_32.lib")//服务器端int_tmain(intargc,_TCHAR
weixin_30379973
·
2020-07-08 13:36
两个已经排好序的链表合并为一个有序链表
将两个已经排好序的链表,比如从小到大,合并成一个有序的链表#include"
stdafx.h
"#includetypedefstructnode{intdata;structnode*next;}node
weixin_30258901
·
2020-07-08 13:36
终于能用C语言整个Windows窗体出来了
//#include"
stdafx.h
"#include"作业--好人
weapon578786647
·
2020-07-08 12:37
OpenGL绘制一个点、线、多边形
#include"
stdafx.h
"#include#include//#include//#include#includeconstintn=20;constGLfloatR=0.5f;constGLfloatPi
wangzhaolong87
·
2020-07-08 12:36
OpenGL
学习入门
利用LdrLoadLibrary加载与隐藏DLL (绕过API HOOK LoadLibrary)
//#include"
stdafx.h
"#includetypedefstruct_UNICODE_STRING{//UNICODE_STRINGstructureUSHORTLength;USHORTMaximumLength
逗比汪星人
·
2020-07-08 12:19
C
VC/MFC
最常见的20种VC++编译错误信息
(一般是没有#include"
stdafx.h
")2、fatalerrorC1083:Cannotopenincludefile:'R…….h':Nosuchfi
wangjiwei2010
·
2020-07-08 12:28
VC/MFC基础知识
获取PNG图片的RGBA
www.cnblogs.com/mr-wid/archive/2013/04/19/3029842.html先看这篇文章,关于pnglib的入门讲解下面贴上源代码(在VC6.0下编译通过):#include"
stdafx.h
土豆丝的逆袭
·
2020-07-08 12:51
other
Windows编程2 MFC
我新建了个控制台工程,并新建文件创建头文件和类GlobalVariate.hclassCTest{public:CTest();~CTest();};GlobalVariate.cpp#include"
stdafx.h
JoeyDIY
·
2020-07-08 11:43
C/C++/C#
MFC/VC
mfc
windows
tinyxml在VS中的配置
projects/tinyxml/2.如果你添加的工程是32位,将以及tinyxml.lib拷到你的工程里面如果你的工程是64位的,则需要你自己生成lib文件即将上面的七个文件添加到一个新的空的工程里,并添加一个
stdafx.h
笨笨的小棒棒
·
2020-07-08 10:04
VS
编程常见问题
MFC
tinyxml的用法和实例
代码如下:#include"
stdafx.h
"#include"targetver.h"#include"ti
军说网事
·
2020-07-08 09:55
openGl画一个简单的立方体
#include"
stdafx.h
"#includevoiddisplay(){glClear(GL_COLOR_BUFFER_BIT);glMatrixMode(GL_MODELVIEW);glLoadIdentity
liupuhui
·
2020-07-08 08:35
上一页
41
42
43
44
45
46
47
48
下一页
按字母分类:
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
其他