问题描述
文件 stdafx.h 的用途是什么?预编译头是什么意思?
推荐答案
stdafx.h是一个文件,由Microsoft Visual Studio IDE 向导,描述了两个标准系统和项目特定的包含文件经常使用但很少使用的不断变化.兼容的编译器(例如,Visual C++ 6.0 和更新版本)将预编译这个文件以减少总体编译时间.
stdafx.his a file, generated by Microsoft Visual Studio IDE wizards, that describes both standard system and project specific include files that are used frequently but hardly ever change. Compatible compilers (for example, Visual C++ 6.0 and newer) will pre-compile this file to reduce overall compile times.
Visual C++ 将在编译之前不要编译任何东西#include "stdafx.h" 在源文件中,除非编译选项/Yu'stdafx.h' 未选中(通过默认);它假定所有代码在源至并包括该行已经编译好了.
Visual C++ will
not compile anything before the
#include "stdafx.h" in the source file, unless the compile option
/Yu'stdafx.h' is unchecked (by
default); it assumes all code in the
source up to and including that line
is already compiled.
http://en.wikipedia.org/wiki/Precompiled_header
这篇关于stdafx.h 的用途的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)