用vc++出现cl.exe 错误,急啊

来源:百度知道 编辑:UC知道 时间:2024/06/23 16:03:57
--------------------Configuration: s - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
s.cpp
d.cpp
d:\microsoft visual studio\msdev98\myprojects\s\d.cpp(14) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
执行 cl.exe 时出错.
该如何解决呢?先谢谢各位了

我还看了说目录的路径之类的 ,改了 还是不行
还有就是cl.exe要是能下的话,给个网址吧 我找了好久也没找到

试试右键点击项目工程中的该cpp文件,选择setting,在c/c++栏,选择PreCompiled headers,然后设置第一选项,选择不使用预编译头

14行看一下

是你的代码的问题,贴下代码吧,尤其是14行附近的。