注册 登录
编程论坛 C++教室

高手帮忙看看..我的VC有问题.致命的错误!

lvyan 发布于 2008-04-18 16:38, 492 次点击
--------------------Configuration: 123 - Win32 Debug--------------------
Compiling...
2.cpp
e:\vc\vc6cn\myprojects\123\2.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
执行 cl.exe 时出错.

123.exe - 1 error(s), 0 warning(s)


cl.exe是干什么用的啊.. 是在C盘系统文件夹里面的.  
双击cl.exe 和 在桌面右键单击我的电脑->属性 一样...
  都是弹出系统属性对话框.. 急求高手解决.!
2 回复
#2
yijing212008-04-19 09:05
不要看到fatal就是致命错误。是你主程序结尾部分出问题了  再看看
#3
yeyuanzhi2008-04-19 09:12
cl.exe 是vc编译程序。

如果是vc6.0,你是不是把#include"stdafx.h"弄没了,每个.cpp文件必须包含之。
1