这个c++错误 是什么意思

来源:百度知道 编辑:UC知道 时间:2024/06/07 04:06:49
请问这是什么意思 帮忙解释一下 要详细的
感谢 老师们 谢谢了
f:\c++\ksh\ksh1.cpp(8) : error C2007: #define syntax
f:\c++\ksh\ksh1.cpp(58) : fatal error C1083: Cannot open precompiled header file: 'Debug/ksh.pch': No such file or directory
Error executing cl.exe.
大哥 我的意思是 我不会看
在详细点 (前面错误代码 后面解释)
再次感谢 谢谢

f:\c++\ksh\ksh1.cpp(8) : error C2007: #define syntax
这个你应看看ksh1.cpp文件的第8行,有一个#define 语句,它有问题

f:\c++\ksh\ksh1.cpp(58) : fatal error C1083: Cannot open precompiled header file: 'Debug/ksh.pch': No such file or directory
这个你先清除程序(就是Build---Clean)再编译连接试试看

如果还不会就HI我吧

在工程设置里去掉编译预处理选项

查找一下你头文件的存放地址,可能出问题了

删除Debug文件夹再重新编译看看