did you forget to add stdafx.h problem
来源:互联网 发布:阿里云上线时间 编辑:程序博客网 时间:2024/05/21 17:46
the solution for this err is :
property/c/C++/Precompileed Headers/Precompiled Header to "not Using Precompiled Headers".
2. stdafx.h文件介绍:
由于Windows和MFC的include文件都非常大,并且每个.CPP文件都包含相同的include文件,为每个.CPP文件都重复处理这些文件就会非常不值得,为了节省编译时间,AppWizard在生成工程文件时,会自动生成stdafx.h以及stdafx.cpp文件。在编译过程中VisualC++和AppWizard所做的工作为:
(1)AppWizard生成文件stdafx.h,该文件包含了当前工程文件需要的所有的MFCinclude文件,这一文件随着选择的选项尔变化;
(2)AppWizard然后生成stdafx.cpp,这个文件通常都是一样的;
(3)AppWizard生成工程文件,此时第一个被编译的文件就是stdafx.cpp文件;
(4)VisualC++编译stdafx.cpp文件时,它将结果保存在一个名为stdafx.pch的文件里。(扩展名pch表示预编译头文件。)
(5)VisualC++编译其它剩余的.cpp文件时,它将会使用stdafx.pch文件。VisualC++不再分析编译Windowsinclude文件,除非stdafx.cpp或stdafx.h这两个文件又有了新的变化。
stdafx.pch文件是编译之后一个非常大的文件,此文件中包含了大量的函数符号信息。
参考信息:http://blog.csdn.net/zhang_hui_cs/article/details/7541583
- did you forget to add stdafx.h problem
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- Did you forget to add '#include "stdafx.h"' to your source?
- Could not load codec 'Lucene54'. Did you forget to add lucene-backward-codecs.jar?
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it 的解决
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方法
- No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inh
- java.lang.IllegalStateException: Did you forget to call 'public void setup(LocalActivityManager acti
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方法
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManage
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured PHP?
- angular Meterial错误 Did you add it to @NgModule.entryComponents
- Android内容提供者(ContentProvider)浅析(一)
- HDU 3342 Legal or Not(简单拓扑排序判定)
- evmc6748_bootloader研究
- [Java 15 反射机制 ] 动态代理的现场版使用
- asyncjs介绍--异步编程风格(1)
- did you forget to add stdafx.h problem
- win8启动黑屏解决方法
- junit4中BigDecimal对象断言问题
- 编写高质量代码——“零星”总结(续3)
- [UIColor colorWithRed: green: blue: alpha:] 失效问题
- 单生产者,单消费者无锁队列实现(c)
- 什么是傅立叶变换?
- 让算法会说话之快速排序
- stepjs介绍--异步编程风格(2)