2024年4月15日发(作者:qq极速版2022最新版)
C语言常见错误提示(英汉对照)
Turbo C 2.0编译错误信息详解
Turbo C编译程序检查源程序中三类出错信息:致命错误、一般错误、警告。
致命错误:通常是内部编译错误。发生致命错误时,编译立即停止,必须采取一些适
当的措施并重新编译。
一般错误:指程序的语法错误、磁盘或内存存取错误或命令错误。
警告:它并不阻止编译进行。它指出一些值得怀疑的情况,而这些情况本身又有可能
合理地成为源程序的一部分。
注意:编译程序指产生被检测到的信息,因为C并不限定在正文的某行放一条语句,
这样,真正产生错误的行可能在编译指出的前一行或几行。
Ambiguous operators need parentheses 不明确的运算需要用括号括起
Ambiguous symbol “xxx” 不明确的符号
Argument list syntax error 参数表语法错误
Array bounds missing 丢失数组界限符
Array size toolarge 数组尺寸太大
Bad character in paramenters 参数中有不适当的字符
Bad file name format in include directive 包含命令中文件名格式不正确
Bad ifdef directive synatax 编译预处理ifdef有语法错
Bad undef directive syntax 编译预处理undef有语法错
Bit field too large 位字段太长
Call of non-function 调用未定义的函数
Call to function with no prototype 调用函数时没有函数的说明
Cannot modify a const object 不允许修改常量对象
Case outside of switch 漏掉了case 语句
Case syntax error Case 语法错误
Code has no effect 代码不可述不可能执行到
Compound statement missing{ 分程序漏掉"{"
Conflicting type modifiers 不明确的类型说明符
发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1713189427a2200531.html
评论列表(0条)