杜甫杜牧杜荀鹤:在c中遇到“fatal error” C1903 是什么意思?

来源:百度文库 编辑:高考问答 时间:2024/04/29 21:52:05

Fatal Error C1903 unable to recover from previous
error(s); stopping compilation.
The compiler found too many errors to continue
compiling your code. You should correct the errors
and recompile.
大意是:
无法从以前的错误中恢复;停止编译
编译器发现太多的错误,无法继续。修复错误并重新编译。

引起这种错误的原因很多,比如:
把!=写成了=!;
有个'\0'的右边的'忘写了;
函数调用时,前面不用写返回类型;
不能用变量来初始化变量,必须用常数值等。

建议修改本错误之前的错误,然后重新编译。

“ fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.”是这样么?
建议你把源代码也贴上来,不好说呀。
估计可能的原因是书写格式问题,检查一下
{
}
是否对应?

程序错误 呵呵
估计是非常严重的