西西軟件園多重安全檢測下載網(wǎng)站、值得信賴的軟件下載站!
軟件
軟件
文章
搜索

首頁編程開發(fā)VC|VC++ → 常見C++編程出錯對照表

常見C++編程出錯對照表

相關(guān)軟件相關(guān)文章發(fā)表評論 來源:西西整理時間:2011/10/21 11:59:23字體大。A-A+

作者:西西點(diǎn)擊:138次評論:9次標(biāo)簽: 編程

  • 類型:編程輔助大。1.8M語言:英文 評分:6.0
  • 標(biāo)簽:
立即下載
 Ambiguous operators need parentheses -----------不明確的運(yùn)算需要用括號括起
Ambiguous symbol ''xxx'' ----------------不明確的符號
Argument list syntax error ----------------參數(shù)表語法錯誤
Array bounds missing ------------------丟失數(shù)組界限符
Array size toolarge -----------------數(shù)組尺寸太大
Bad character in paramenters ------------------參數(shù)中有不適當(dāng)?shù)淖址?
Bad file name format in include directive --------------------包含命令中文件名格式不正確
Bad ifdef directive synatax ------------------------------編譯預(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 error ------------------ Case 語法錯誤
Code has no effect -----------------代碼不可述不可能執(zhí)行到
Compound statement missing{ --------------------分程序漏掉"{"
Conflicting type modifiers ------------------不明確的類型說明符
Constant expression required ----------------要求常量表達(dá)式
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 ; ----------------說明缺少";" houjiuming
Declaration syntax error -----------------說明中出現(xiàn)語法錯誤
Default outside of switch ------------------ Default 出現(xiàn)在switch語句之外
Define directive needs an identifier ------------------定義編譯預(yù)處理需要標(biāo)識符
Division by zero ------------------用零作除數(shù)
Do statement must have while ------------------ Do-while語句中缺少while部分
Enum syntax error ---------------------枚舉類型語法錯誤
Enumeration constant syntax error -----------------枚舉常數(shù)語法錯誤
Error directive :xxx ------------------------錯誤的編譯預(yù)處理命令
Error writing output file ---------------------寫輸出文件錯誤
Expression syntax error -----------------------表達(dá)式語法錯誤
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 label ------------------ Goto語句沒有標(biāo)號
Hexadecimal or octal constant too large ------------------16進(jìn)制或8進(jìn)制常數(shù)太大
Illegal character ''x'' ------------------非法字符x
Illegal initialization ------------------非法的初始化
Illegal octal digit ------------------非法的8進(jìn)制數(shù)字 houjiuming
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 ----------------類型定義符號使用不恰當(dāng)
In-line assembly not allowed -----------------不允許使用行間匯編
Incompatible storage class -----------------存儲類別不相容
Incompatible type conversion --------------------不相容的類型轉(zhuǎn)換
Incorrect number format -----------------------錯誤的數(shù)據(jù)格式
Incorrect use of default --------------------- Default使用不當(dāng)
Invalid indirection ---------------------無效的間接運(yùn)算
Invalid pointer addition ------------------指針相加無效
Irreducible expression tree -----------------------無法執(zhí)行的表達(dá)式運(yùn)算
Lvalue required ---------------------------需要邏輯值0或非0值
Macro argument syntax error -------------------宏參數(shù)語法錯誤
Macro expansion too long ----------------------宏的擴(kuò)展以后太長
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ù)點(diǎn)
Misplaced elif directive --------------------不應(yīng)編譯預(yù)處理elif
Misplaced else ----------------------此處不應(yīng)出現(xiàn)else houjiuming
Misplaced else directive ------------------此處不應(yīng)出現(xiàn)編譯預(yù)處理else
Misplaced endif 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 conversion ----------------------不可移動的指針(地址常數(shù))轉(zhuǎn)換
Not a valid expression format type ---------------------不合法的表達(dá)式格式
Not an allowed type ---------------------不允許使用的類型
Numeric constant too large -------------------數(shù)值常太大
Out of memory -------------------內(nèi)存不夠用 houjiuming
Parameter ''xxx'' is never used ------------------能數(shù)xxx沒有用到
Pointer required on left side of -> -----------------------符號->的左邊必須是指針
Possible use of ''xxx'' before definition -------------------在定義之前就使用了xxx(警告)
Possibly incorrect assignment ----------------賦值可能不正確
Redeclaration of ''xxx'' -------------------重復(fù)定義了xxx
Redefinition 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 ; ------------------語句后缺少";"
Structure or union syntax error --------------結(jié)構(gòu)體或聯(lián)合體語法錯誤
Structure size too large ----------------結(jié)構(gòu)體尺寸太大
Sub scripting missing ] ----------------下標(biāo)缺少右方括號
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ù)的參數(shù)不
Too many default cases ------------------- Default太多(switch語句中一個)
Too many error or warning messages --------------------錯誤或警告信息太多
Too many type in declaration -----------------說明中類型太多 houjiuming
Too much auto memory in function -----------------函數(shù)用到的局部存儲太多
Too much global data defined in file ------------------文件中全局?jǐn)?shù)據(jù)太多
Two consecutive dots -----------------兩個連續(xù)的句點(diǎn)
Type mismatch in parameter xxx ----------------參數(shù)xxx類型不匹配
Type mismatch in redeclaration of ''xxx'' ---------------- xxx重定義的類型不匹配
Unable to create output file ''xxx'' ----------------無法建立輸出文件xxx
Unable to open include file ''xxx'' ---------------無法打開被包含的文件xxx
Unable to open input file ''xxx'' ----------------無法打開輸入文件xxx
Undefined label ''xxx'' -------------------沒有定義的標(biāo)號xxx
Undefined structure ''xxx'' -----------------沒有定義的結(jié)構(gòu)xxx
Undefined symbol ''xxx'' -----------------沒有定義的符號xxx
Unexpected 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) houjiuming
Unknown option ---------------未知的操作
Unknown preprocessor directive: ''xxx'' -----------------不認(rèn)識的預(yù)處理命令xxx
Unreachable code ------------------無路可達(dá)的代碼
Unterminated string or character constant -----------------字符串缺少引號
User break ----------------用戶強(qiáng)行中斷了程序
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)體的一部分
xxx statement missing ( -------------------- xxx語句缺少左括號
xxx statement missing ) ------------------ xxx語句缺少右括號
xxx statement missing ; -------------------- xxx缺少分號 houjiuming
xxx'' declared but never used -------------------說明了xxx但沒有使用
xxx'' is assigned a value which is never used ----------------------給xxx賦了值但未用過
Zero length structure ------------------結(jié)構(gòu)體的長度為零

    相關(guān)評論

    閱讀本文后您有什么感想? 已有人給出評價!

    • 8 喜歡喜歡
    • 3 頂
    • 1 難過難過
    • 5 囧
    • 3 圍觀圍觀
    • 2 無聊無聊

    熱門評論

    最新評論

    第 2 樓 遼寧沈陽沈陽建筑大學(xué) 網(wǎng)友 客人 發(fā)表于: 2011/11/12 10:16:51
    我正在編程,正好有遇見上述問題```

    支持( 0 ) 蓋樓(回復(fù))

    第 1 樓 遼寧沈陽沈陽建筑大學(xué) 網(wǎng)友 客人 發(fā)表于: 2011/11/12 10:15:57
    小伙不錯```

    支持( 0 ) 蓋樓(回復(fù))

    發(fā)表評論 查看所有評論(9)

    昵稱:
    表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
    字?jǐn)?shù): 0/500 (您的評論需要經(jīng)過審核才能顯示)