当前位置:网站首页>宏编译 预处理头 WIN32_LEAN_AND_MEAN
宏编译 预处理头 WIN32_LEAN_AND_MEAN
2022-06-12 12:06:00 【就想叫yoko】
在许多windows下的项目中, 我们经常可以看到在stdafx.h中有这么个宏定义#define WIN32_LEAN_AND_MEAN, 它的作用实际上是当我们项目中包含了<windows.h>时去除一些头文件的包含, 加快编译速度, 大家可以跳进<windows.h>中搜索一下WIN32_LEAN_AND_MEAN就能看到去除了哪些头文件的包含了, 据网上说是不使用MFC时可以包含该预处理头, 我也用个小项目测试了一下, 基本上对于编译速度以及生成文件没有多大影响, 所以个人认为大家只要知道有这么个东西, 在阅读别人代码时如果有这么个东西能知道是干什么的就行了。
边栏推荐
- ARM处理器模式与寄存器
- 第六章 数据类型(五)
- 什么是模块化?模块化的好处
- ARM指令集之Load/Store指令寻址方式(二)
- The second regular match is inconsistent with the first one, and the match in the regular loop is invalid
- object. Defineproperty basic usage
- promise的理解已经利用promise实现图片的预加载(顺序加载)
- ARM指令集之Load/Store指令寻址方式(一)
- 点击产生4位随机数,验证码设置
- Left and right cases + rotating pictures of small dots + no time
猜你喜欢
![[foundation of deep learning] back propagation method (1)](/img/0b/540c1f94712a381cae4d30ed624778.png)
[foundation of deep learning] back propagation method (1)

【深度学习基础】反向传播法(1)

Beyondcompare 4 uses PJ

The second day of QML study

TinyMCE realizes automatic uploading of pasted pictures

开源项目-(ERP+酒店+电商)后台管理系统

【Leetcode】221. Largest Square

Open source project - (erp+ Hotel + e-commerce) background management system

Ros- resolve error "tf2\u buffer\was not declared in this scope"

B. Wall painting (C language)
随机推荐
淘宝新改版商家如何操作,需要注意的点有哪些
Pytorch笔记
机器学习之决策树
ARM指令集之Load/Store访存指令(一)
Reasons for SSL introduction and encryption steps
ARM指令集之批量Load/Store指令
Chaîne la plus longue sans caractères dupliqués (leetcode 3)
Must do skill -- use ffmpeg command to quickly and accurately cut video
单页面开发与多页面开发的优缺点
SSL引入原因及加密步骤
LeetCode_ String_ Simple_ 344. reverse string
The first thing with a server
System.IO.FileLoadException异常
Traditional DOM rendering?
this的指向
Node crawler puppeter usage
Automatic generation of folder directory structure
LeetCode 1037. Effective boomerang (vector cross product)
Pytoch notes
In navigation, the solution of adding borders to affect the layout