#error include✀stdafx.h✀before including this file for PCH这句话有什么错误呀?

2025-04-06 22:54:34
推荐回答(3个)
回答1:

把你的#include "stdafx.h"放在最前面,可能你吧它的位置挪了

回答2:

应该是文档自动生成时已经包含了stdafx.h了,然后起了冲突。
你新建项目的时候建一个空文档,然后把自己写的代码复制过去吧……

回答3:

用的vc吧? 创建文件是去除掉那个选项就可以了