C語(yǔ)言常見錯(cuò)誤中文解釋-_第1頁(yè)
C語(yǔ)言常見錯(cuò)誤中文解釋-_第2頁(yè)
C語(yǔ)言常見錯(cuò)誤中文解釋-_第3頁(yè)
C語(yǔ)言常見錯(cuò)誤中文解釋-_第4頁(yè)
C語(yǔ)言常見錯(cuò)誤中文解釋-_第5頁(yè)
已閱讀5頁(yè),還剩6頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、C語(yǔ)言中常見得錯(cuò)誤漢語(yǔ)解釋Ambiguous operators need parentheses 不明確的運(yùn)算需要用括號(hào)括起Ambiguous symbol 'xxx'不明確的符號(hào)Argument list syntax error參數(shù)表語(yǔ)法錯(cuò)誤Array bounds missing丟失數(shù)組界限符Array size toolarge數(shù)組尺寸太大Bad character in paramenters參數(shù)中有不適當(dāng)?shù)淖址鸅ad file name format in include directive 包含命令中文件名格式不正確Bad ifdef directive syn

2、atax編譯預(yù)處理ifdef有語(yǔ)法錯(cuò)Bad undef directive syntax編譯預(yù)處理undef有語(yǔ)法錯(cuò)Bit field too large位字段太長(zhǎng)Call of non-function調(diào)用未定義的函數(shù)Call to function with no prototype調(diào)用函數(shù)時(shí)沒有函數(shù)的說(shuō)明Cannot modify a const object不允許修改常量對(duì)象Case outside of switch漏掉了case 語(yǔ)句Case syntax errorCase 語(yǔ)法錯(cuò)誤Code has no effect代碼不可述不可能執(zhí)行到Compound statement m

3、issing分程序漏掉""Conflicting type modifiers不明確的類型說(shuō)明符Constant expression required要求常量表達(dá)式Constant out of range in comparison在比較中常量超出范圍Conversion may lose significant digits轉(zhuǎn)換時(shí)會(huì)丟失意義的數(shù)字Conversion of near pointer not allowed 不允許轉(zhuǎn)換近指針Could not find file 'xxx'找不到XXX文件Declaration missing ;說(shuō)明缺少

4、""Declaration syntax error說(shuō)明中出現(xiàn)語(yǔ)法錯(cuò)誤Default outside of switchDefault 出現(xiàn)在switch語(yǔ)句之外Define directive needs an identifier定義編譯預(yù)處理需要標(biāo)識(shí)符Division by zero用零作除數(shù)Do statement must have whileDo-while語(yǔ)句中缺少while部分Enum syntax error枚舉類型語(yǔ)法錯(cuò)誤Enumeration constant syntax error枚舉常數(shù)語(yǔ)法錯(cuò)誤Error directive :xxx錯(cuò)誤的編譯預(yù)

5、處理命令Error writing output file寫輸出文件錯(cuò)誤Expression syntax error表達(dá)式語(yǔ)法錯(cuò)誤Extra parameter in call調(diào)用時(shí)出現(xiàn)多余錯(cuò)誤File name too long文件名太長(zhǎng)Function call missing 函數(shù)調(diào)用缺少右括號(hào)Fuction definition out of place函數(shù)定義位置錯(cuò)誤Fuction should return a value函數(shù)必需返回一個(gè)值Goto statement missing labelGoto語(yǔ)句沒有標(biāo)號(hào)Hexadecimal or octal constant too

6、 large 16進(jìn)制或8進(jìn)制常數(shù)太大Illegal character 'x'非法字符xIllegal initialization非法的初始化Illegal octal digit非法的8進(jìn)制數(shù)字Illegal pointer subtraction非法的指針相減Illegal structure operation非法的結(jié)構(gòu)體操作Illegal use of floating point非法的浮點(diǎn)運(yùn)算Illegal use of pointer指針使用非法Improper use of a typedefsymbol類型定義符號(hào)使用不恰當(dāng)In-line assembly

7、not allowed不允許使用行間匯編Incompatible storage class存儲(chǔ)類別不相容Incompatible type conversion不相容的類型轉(zhuǎn)換Incorrect number format錯(cuò)誤的數(shù)據(jù)格式Incorrect use of defaultDefault使用不當(dāng)Invalid indirection無(wú)效的間接運(yùn)算Invalid pointer addition指針相加無(wú)效Irreducible expression tree無(wú)法執(zhí)行的表達(dá)式運(yùn)算Lvalue required需要邏輯值0或非0值Macro argument syntax error宏

8、參數(shù)語(yǔ)法錯(cuò)誤Macro expansion too long宏的擴(kuò)展以后太長(zhǎng)Mismatched number of parameters in definition 定義中參數(shù)個(gè)數(shù)不匹配Misplaced break此處不應(yīng)出現(xiàn)break語(yǔ)句Misplaced continue此處不應(yīng)出現(xiàn)continue語(yǔ)句Misplaced decimal point此處不應(yīng)出現(xiàn)小數(shù)點(diǎn)Misplaced elif directive不應(yīng)編譯預(yù)處理elifMisplaced else此處不應(yīng)出現(xiàn)elseMisplaced else directive此處不應(yīng)出現(xiàn)編譯預(yù)處理else Misplaced end

9、if directive此處不應(yīng)出現(xiàn)編譯預(yù)處理endif Must be addressable必須是可以編址的Must take address of memory location 必須存儲(chǔ)定位的地址No declaration for function 'xxx'沒有函數(shù)xxx的說(shuō)明No stack缺少堆棧No type information沒有類型信息Non-portable pointer assignment不可移動(dòng)的指針(地址常數(shù)賦值Non-portable pointer comparison不可移動(dòng)的指針(地址常數(shù)比較Non-portable pointer

10、 conversion不可移動(dòng)的指針(地址常數(shù)轉(zhuǎn)換Not a valid expression format type不合法的表達(dá)式格式Not an allowed type不允許使用的類型Numeric constant too large數(shù)值常太大Out of memory內(nèi)存不夠用Parameter 'xxx' is never used能數(shù)xxx沒有用到Pointer required on left side of ->符號(hào)->的左邊必須是指針Possible use of 'xxx' before definition 在定義之前就使用了

11、xxx(警告 Possibly incorrect assignment賦值可能不正確Redeclaration of 'xxx'重復(fù)定義了xxxRedefinition of 'xxx' is not identical xxx的兩次定義不一致Register allocation failure寄存器定址失敗Repeat count needs an lvalue重復(fù)計(jì)數(shù)需要邏輯值Size of structure or array not known結(jié)構(gòu)體或數(shù)給大小不確定Statement missing ;語(yǔ)句后缺少""Structu

12、re or union syntax error結(jié)構(gòu)體或聯(lián)合體語(yǔ)法錯(cuò)誤Structure size too large結(jié)構(gòu)體尺寸太大Sub scripting missing 下標(biāo)缺少右方括號(hào)Superfluous &with function or array函數(shù)或數(shù)組中有多余的"&" Suspicious pointer conversion可疑的指針轉(zhuǎn)換Symbol limit exceeded符號(hào)超限Too few parameters in call函數(shù)調(diào)用時(shí)的實(shí)參少于函數(shù)的參數(shù)不Too many default casesDefault太多(sw

13、itch語(yǔ)句中一個(gè) Too many error or warning messages 錯(cuò)誤或警告信息太多Too many type in declaration說(shuō)明中類型太多Too much auto memory in function函數(shù)用到的局部存儲(chǔ)太多Too much global data defined in file文件中全局?jǐn)?shù)據(jù)太多Two consecutive dots兩個(gè)連續(xù)的句點(diǎn)Type mismatch in parameter xxx參數(shù)xxx類型不匹配Type mismatch in redeclaration of 'xxx' xxx重定義的類

14、型不匹配Unable to create output file 'xxx'無(wú)法建立輸出文件xxxUnable to open include file 'xxx'無(wú)法打開被包含的文件xxxUnable to open input file 'xxx'無(wú)法打開輸入文件xxxUndefined label 'xxx'沒有定義的標(biāo)號(hào)xxxUndefined structure 'xxx' 沒有定義的結(jié)構(gòu) xxx Undefined symbol 'xxx' 沒有定義的符號(hào) xxx Unexpected

15、end of file in comment started on line xxx 從 xxx 行開始的注解尚未結(jié)束文件不能結(jié)束 Unexpected end of file in conditional started on line xxx 從 xxx 開始的條件語(yǔ)句尚未結(jié)束文件不能結(jié)束 Unknown assemble instruction 未知的匯編結(jié)構(gòu) Unknown option 未知的操作 Unknown preprocessor directive: 'xxx' 不認(rèn)識(shí)的預(yù)處理命令 xxx Unreachable code 無(wú)路可達(dá)的代碼 Unterminated string or character constant 字符串缺少引號(hào) User break 用戶強(qiáng)行中斷了程序 Void functions may not return a value Void 類型的函數(shù)不應(yīng)有返回值 Wrong number of arguments 調(diào)用函數(shù)的參數(shù)數(shù)目錯(cuò) 'xxx' not an argument xxx 不是參數(shù) 'xxx' not part of structure xxx 不是結(jié)構(gòu)

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論