




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、C語言中常見得錯誤漢語解釋Ambiguous operators need parentheses 不明確的運算需要用括號括起Ambiguous symbol 'xxx'不明確的符號Argument list syntax error參數(shù)表語法錯誤Array bounds missing丟失數(shù)組界限符Array size toolarge數(shù)組尺寸太大Bad character in paramenters參數(shù)中有不適當?shù)淖址鸅ad file name format in include directive 包含命令中文件名格式不正確Bad ifdef directive syn
2、atax編譯預(yù)處理ifdef有語法錯Bad undef directive syntax編譯預(yù)處理undef有語法錯Bit field too large位字段太長Call of non-function調(diào)用未定義的函數(shù)Call to function with no prototype調(diào)用函數(shù)時沒有函數(shù)的說明Cannot modify a const object不允許修改常量對象Case outside of switch漏掉了case 語句Case syntax errorCase 語法錯誤Code has no effect代碼不可述不可能執(zhí)行到Compound statement m
3、issing分程序漏掉""Conflicting type modifiers不明確的類型說明符Constant expression required要求常量表達式Constant out of range in comparison在比較中常量超出范圍Conversion may lose significant digits轉(zhuǎn)換時會丟失意義的數(shù)字Conversion of near pointer not allowed 不允許轉(zhuǎn)換近指針Could not find file 'xxx'找不到XXX文件Declaration missing ;說明缺少
4、""Declaration syntax error說明中出現(xiàn)語法錯誤Default outside of switchDefault 出現(xiàn)在switch語句之外Define directive needs an identifier定義編譯預(yù)處理需要標識符Division by zero用零作除數(shù)Do statement must have whileDo-while語句中缺少while部分Enum syntax error枚舉類型語法錯誤Enumeration constant syntax error枚舉常數(shù)語法錯誤Error directive :xxx錯誤的編譯預(yù)
5、處理命令Error writing output file寫輸出文件錯誤Expression syntax error表達式語法錯誤Extra parameter in call調(diào)用時出現(xiàn)多余錯誤File name too long文件名太長Function call missing 函數(shù)調(diào)用缺少右括號Fuction definition out of place函數(shù)定義位置錯誤Fuction should return a value函數(shù)必需返回一個值Goto statement missing labelGoto語句沒有標號Hexadecimal or octal constant too
6、 large 16進制或8進制常數(shù)太大Illegal character 'x'非法字符xIllegal initialization非法的初始化Illegal octal digit非法的8進制數(shù)字Illegal pointer subtraction非法的指針相減Illegal structure operation非法的結(jié)構(gòu)體操作Illegal use of floating point非法的浮點運算Illegal use of pointer指針使用非法Improper use of a typedefsymbol類型定義符號使用不恰當In-line assembly
7、not allowed不允許使用行間匯編Incompatible storage class存儲類別不相容Incompatible type conversion不相容的類型轉(zhuǎn)換Incorrect number format錯誤的數(shù)據(jù)格式Incorrect use of defaultDefault使用不當Invalid indirection無效的間接運算Invalid pointer addition指針相加無效Irreducible expression tree無法執(zhí)行的表達式運算Lvalue required需要邏輯值0或非0值Macro argument syntax error宏
8、參數(shù)語法錯誤Macro expansion too long宏的擴展以后太長Mismatched number of parameters in definition 定義中參數(shù)個數(shù)不匹配Misplaced break此處不應(yīng)出現(xiàn)break語句Misplaced continue此處不應(yīng)出現(xiàn)continue語句Misplaced decimal point此處不應(yīng)出現(xiàn)小數(shù)點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 必須存儲定位的地址No declaration for function 'xxx'沒有函數(shù)xxx的說明No stack缺少堆棧No type information沒有類型信息Non-portable pointer assignment不可移動的指針(地址常數(shù)賦值Non-portable pointer comparison不可移動的指針(地址常數(shù)比較Non-portable pointer
10、 conversion不可移動的指針(地址常數(shù)轉(zhuǎn)換Not a valid expression format type不合法的表達式格式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 ->符號->的左邊必須是指針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ù)計數(shù)需要邏輯值Size of structure or array not known結(jié)構(gòu)體或數(shù)給大小不確定Statement missing ;語句后缺少""Structu
12、re or union syntax error結(jié)構(gòu)體或聯(lián)合體語法錯誤Structure size too large結(jié)構(gòu)體尺寸太大Sub scripting missing 下標缺少右方括號Superfluous &with function or array函數(shù)或數(shù)組中有多余的"&" Suspicious pointer conversion可疑的指針轉(zhuǎn)換Symbol limit exceeded符號超限Too few parameters in call函數(shù)調(diào)用時的實參少于函數(shù)的參數(shù)不Too many default casesDefault太多(sw
13、itch語句中一個 Too many error or warning messages 錯誤或警告信息太多Too many type in declaration說明中類型太多Too much auto memory in function函數(shù)用到的局部存儲太多Too much global data defined in file文件中全局數(shù)據(jù)太多Two consecutive dots兩個連續(xù)的句點Type mismatch in parameter xxx參數(shù)xxx類型不匹配Type mismatch in redeclaration of 'xxx' xxx重定義的類
14、型不匹配Unable to create output file 'xxx'無法建立輸出文件xxxUnable to open include file 'xxx'無法打開被包含的文件xxxUnable to open input file 'xxx'無法打開輸入文件xxxUndefined label 'xxx'沒有定義的標號xxxUndefined structure 'xxx' 沒有定義的結(jié)構(gòu) xxx Undefined symbol 'xxx' 沒有定義的符號 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 開始的條件語句尚未結(jié)束文件不能結(jié)束 Unknown assemble instruction 未知的匯編結(jié)構(gòu) Unknown option 未知的操作 Unknown preprocessor directive: 'xxx' 不認識的預(yù)處理命令 xxx Unreachable code 無路可達的代碼 Unterminated string or character constant 字符串缺少引號 User break 用戶強行中斷了程序 Void functions may not return a value Void 類型的函數(shù)不應(yīng)有返回值 Wrong number of arguments 調(diào)用函數(shù)的參數(shù)數(shù)目錯 'xxx' not an argument xxx 不是參數(shù) 'xxx' not part of structure xxx 不是結(jié)構(gòu)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年中國以太網(wǎng)接口轉(zhuǎn)換器市場調(diào)查研究報告
- 設(shè)計合同范本實例
- 2025年中國DEC無保溫伸縮軟管市場調(diào)查研究報告
- 大型賽事、活動承辦合作合同范本
- 電影拍攝場地租賃合同范本
- 裝飾g國光工程居間合同范本
- 中央空調(diào)維保合同范本
- 高壓旋噴樁施工分包合同范本
- 合作項目股本借貸款合同協(xié)議書
- 劇院演出服裝租賃合同
- 2024年湖南環(huán)境生物職業(yè)技術(shù)學(xué)院單招職業(yè)適應(yīng)性測試題庫及參考答案
- 專題06 壓強計算(壓強與浮力結(jié)合題)-上海市2024年中考復(fù)習(xí)資料匯編(培優(yōu)專用)【解析版】
- 2024年輔警招聘考試試題庫含完整答案(各地真題)
- 《工程建設(shè)標準強制性條文電力工程部分2023年版》
- 壺口瀑布公開課省公開課一等獎全國示范課微課金獎?wù)n件
- 航天禁(限)用工藝目錄(2021版)-發(fā)文稿(公開)
- 中醫(yī)中藥在罕見病中的應(yīng)用
- 《起重機械安全評估規(guī)范》編制說明(征求意見稿)
- 人教版PEP五年級數(shù)學(xué)下冊教案(全冊 完整)
- 《陶瓷彩繪裝飾工藝》課程標準
- 預(yù)防頸動脈斑塊
評論
0/150
提交評論