kd7精英黑金:编译时为什么出现这个问题?急〉〉〉〉〉〉〉〉〉〉〉〉〉

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 13:46:09
--------------------Configuration: Program311 - Win32 Debug--------------------
Compiling...
Program311.cpp
c:\documents and settings\ramon\my documents\program311.cpp(2) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Error executing cl.exe.

Program311.obj - 1 error(s), 0 warning(s)

先运行一下'stdafx.h'这个。。。。
然后就好了~

MFC 应用程序编译时找不到 stdafx.h 这份文件。看看是不是路径设置的问题。