【Visual Studio】Error: forget to add '#include "stdafx.h"' to your source (转)

原文转自 http://www.cnblogs.com/qunews/articles/2200313.html

 

【问题原因】在编译时使用了预编译头文件,

【解决方法】Project-->Property-->Configuraton Properties-->C/C++-->Precompiled Header-->Precompiled Header-->Not Using Precompiled Headers

 

posted @ 2016-10-25 17:02  ~小小鸟~  阅读(348)  评论(0编辑  收藏  举报