编程论坛's Archiver

lvyan 发表于 2008-4-18 16:38

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

--------------------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 和 在桌面右键单击我的电脑->属性 一样...
  都是弹出系统属性对话框.. 急求高手解决.!

yijing21 发表于 2008-4-19 09:05

不要看到fatal就是致命错误。是你主程序结尾部分出问题了  再看看

yeyuanzhi 发表于 2008-4-19 09:12

cl.exe 是vc编译程序。

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

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.