米拓官网:"stdafx.h"error
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/05 00:48:26
在我运行程序的时候出现了这样的错误:
fatal error : Cannot open include file: 'stdafx.h': No such file or directory
指教如何解决
fatal error : Cannot open include file: 'stdafx.h': No such file or directory
指教如何解决
如果是用Visual Studio生成的码,看一下你的.cpp所在文件夹里有没有stdafx.h,如果有,include 句才可用 "stdafx.h",
如果没有,应当用#include <stdafx.h>
系统里的应在MFC下面
还有办法就是搜索一下stdafx.h,找到VC系统里的stdafx.h,把它copy到.cpp所在文件夹,再编,再缺什么头文件也copy过来.(这可临时解决问题.最终要重装一下VC,一劳永逸).
系统错误
= =#
建议你重装系统
那到不可能
你查看一下VC就行
"stdafx.h"error
"stdafx.h" 为何打不开
怎样才能在 Microsoft visual studio 2005中用头文件:#inlcude"stdafx.h"
为什么我用c++调试windows应用程序时,都是#include "stdafx.h" // e. g. stdafx.h不存在?
C++ 中stdafx.h是什么意思
#include "stdio.h"
#include"graphics.h"
#include "IPNodeList.h"
#include "stdio.h"
vc++,Cannot open include file: 'stdafx.h'怎么办?