precompiled-headers

Purpose of stdafx.h [duplicate]

本小妞迷上赌 提交于 2019-11-26 00:38:26
问题 This question already has an answer here: What is “stdafx.h” used for in Visual Studio? 4 answers What is the purpose of the file stdafx.h and what is meant by precompiled headers ? 回答1: stdafx.h is 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