按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
Function doesn't take a variable number of argument(函数不接受可变的参数个数)
Goto statement missing label (Goto语句缺少标号)
If statement missing( (If语句缺少〃(〃)
If statement missing) (If语句缺少〃)〃)
lllegal initalization (非法初始化)
lllegal octal digit (非法八进制数)
分析与处理:此类错误通常是由于八进制常数中包含了非八进制数字所致。
lllegal pointer subtraction (非法指针相减)
lllegal structure operation (非法结构操作)
lllegal use of floating point (浮点运算非法)
lllegal use of pointer (指针使用非法)
Improper use of a typedef symbol (typedef符号使用不当)
Inpatible storage class (不相容的存储类型)
Inpatible type conversion (不相容的类型转换)
Incorrect madn line argument:xxxxxx (不正确的命令行参数:xxxxxxx)
Incorrect madn file argument:xxxxxx (不正确的配置文件参数:xxxxxxx)
Incorrect number format (不正确的数据格式)
Incorrect use of default (deflult不正确使用)
Initializer syntax error (初始化语法错误)
Invaild indrection (无效的间接运算)
Invalid macro argument separator (无效的宏参数分隔符)
Invalid pointer addition (无效的指针相加)
Invalid use of dot (点使用错)
Macro argument syntax error (宏参数语法错误)
Macro expansion too long (宏扩展太长)
Mismatch number of parameters in definition(定义中参数个数不匹配)
Misplaced break (break位置错误)
Misplaced continue (位置错)
Misplaced decimal point (十进制小数点位置错)
Misplaced else (else 位置错)
Misplaced else driective (clse指令位置错)
Misplaced endif directive (endif指令位置错)
Must be addressable (必须是可编址的)
Must take address of memory location (必须是内存一地址)
No file name ending (无文件终止符)
No file names given (未给出文件名)
Non…protable pointer assignment (对不可移植的指针赋值)
Non…protable pointer parison (不可移植的指针比较)
Non…protable return type conversion (不可移植的返回类型转换)
Not an allowed type (不允许的类型)
Out of memory (内存不够)
Pointer required on left side of (操作符左边须是一指针)
Redeclaration of 'xxxxxx' ('xxxxxx'重定义)
Size of structure or array not known (结构或数组大小不定)
Statement missing; (语句缺少“;”)
Structure or union syntax error (结构或联合语法错误)
Structure size too large (结构太大)
Subscription missing ' (下标缺少‘'’)
Switch statement missing ( (switch 语句缺少〃(〃)
Switch statement missing ) (switch 语句缺少〃)〃)
Too few parameters in call (函数调用参数太少)
Too few parameter in call to'xxxxxx'(调用'xxxxxx'时参数太少)
Too many cases (Cases太多)
Too many decimal points (十进制小数点太多)
Too many default cases (defaut太多)
Too many exponents (阶码太多)
Too many initializers (初始化太多)
Too many storage classes in declaration (说明中存储类太多)
Too many types in decleration (说明中类型太多)
Too much auto memory in function (函数中自动存储太多)
Too much global define in file (文件中定义的全局数据太多)
Two consecutive dots (两个连续点)
Type mismatch in parameter # (参数〃#〃类型不匹配)
Type mismatch in parameter # in call to 'XXXXXXX' (调用'XXXXXXX'时参数#类型不匹配)
Type missmatch in parameter 'XXXXXXX' (参数'XXXXXXX'类型不匹配)
Type mismatch in parameter 'YYYYYYYY' in call to 'YYYYYYYY'(调用'YYYYYYY'时参数'XXXXXXXX'数型不匹配)
Type mismatch in redeclaration of 'XXX' (重定义类型不匹配)
Unable to creat output file 'XXXXXXXX。XXX' (不能创建输出文件'XXXXXXXX。XXX')
Unable to create turboc。lnk (不能创建turboc。lnk )
Unable to execute mand 'xxxxxxxx'(不能执行'xxxxxxxx'命令)
Unable to open include file 'xxxxxxx。xxx' (不能打开包含文件'xxxxxxxx。xxx')
Unable to open inputfile 'xxxxxxx。xxx' (不能打开输入文件'xxxxxxxx。xxx')
Undefined label 'xxxxxxx' (标号'xxxxxxx'未定义)
Undefined structure 'xxxxxxxxx' (结构'xxxxxxxxxx'未定义)
Undefined symbol 'xxxxxxx' (符号'xxxxxxxx'未定义)
Unexpected end of file in ment started on line #(源文件在某个注释中意外结束)
Unexpected end of file in conditional stated on line # (源文件在#行开始的条件语句中意外结束)
Unknown preprocessor directive 'xxx' (不认识的预处理指令:'xxx')Untermimated character constant (未终结的字符常量)
Unterminated string (未终结的串)
Unterminated string or character constant(未终结的串或字符常量)
User break (用户中断)
Value required (赋值请求)
While statement missing ( (While语句漏掉 '(')
While statement missing ) (While语句漏掉 ')')
Wrong number of arguments in of 'xxxxxxxx' (调用'xxxxxxxx'时参数个数错误)
附录二:Turbo C(V2。0)使用指南
(本文的许多命令或方法同样适用于TC3)
在开始看本文以前,我先说明一下C语言的安装和使用中最应该注意的地方:许多网友在下载Turbo C 2。0和Turbo C++ 3。0后,向我问得最多的是在使用过程中碰到如下问题:
1)出现找不到 stdio。h conio。h等include文件;
2)出现cos。obj无法连接之类的错误
这些问题是由于没有设置好路径引起的,目前下载的TC2,TC3按安装分类大概有两种版本:一是通过install安装,这类应该已经设置好了路径;二是直接解压后建立TC。EXE的快捷方式,在WINDOWS下双击即可运行(DOS下直接运行TC。EXE);目前国内大多为这种;因此下载使用前请注意
路径设置:
设置方法为:
OPTION…》DIRECTORIES:
INCLUDE: 'TC2/3所在目录'/include
LIB: 'TC2/3所在目录'/lib
output输出目录请自己设置一个工作目录,以免混在一起。最后还提醒一点:FILES中的Change dir(改变当前目录)中应设置为当前程序所在目录。
一、 Turbo C 2。0的安装和启动
Turbo C 2。0的安装非常简单; 只要将1#盘插入A驱动器中; 在DOS的〃A》〃 下键入: A》INSTALL 即可; 此时屏幕上显示三种选择:
1。 在硬盘上创造一个新目录来安装整个Turbo C 2。0系统。
2。 对Turbo C 1。5更新版本。这样的安装将保留原来对选择项、颜色和编辑功能键的设置。
3。 为只有两个软盘而无硬盘的系统安装Turbo C 2。0。
这里假定按第一种选择进行安装; 只要在安装过程中按对盘号的提示; 顺序插入各个软盘; 就可以顺利地进行安装; 安装完毕将在C盘根目录下建立一个TC 子目录; TC下还建立了两个了目录LIB和INCLUDE; LIB子目录中存放库文件; INCLUDE子目录中存放所有头文件。运行Turbo C2。0时; 只要在TC 子目录下键入TC并回车即可进入Turbo C 2。 0 集成开发环境。
二、 Turbo C 2。0集成开发环境的使用
进入Turbo C 2。0集成开发环境中后; 屏幕上显示:
──────────────────────────────
File Edit Run pile Project Options Debug Break/watch
┌────────────Ed i t──────────────┐
│ Line 1 Col 1