include stdafx.h 无法打开源文件怎么办

2024-10-14 23:42:51

1、为了更加简洁的说明,小胆咣骜岱编用来cfree5来讲解说明。首先,看下include stdafx.h文件报错。

include stdafx.h 无法打开源文件怎么办

3、在cfree文件夹里面找到“mingw”这个子文件夹。

include stdafx.h 无法打开源文件怎么办

5、可以看到这里并没有stdafx.h这个头文件,这就是编程报错的原因。

include stdafx.h 无法打开源文件怎么办

7、把stdafx.h头文件放到对应的文件夹里面就可以了。

include stdafx.h 无法打开源文件怎么办
猜你喜欢