• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            最常見(jiàn)的20種VC++編譯錯(cuò)誤信息集合

            1、fatal error C1010: unexpected end of file while looking for precompiled header directive。
            尋找預(yù)編譯頭文件路徑時(shí)遇到了不該遇到的文件尾。(一般是沒(méi)有#include "stdafx.h")

            2、fatal error C1083: Cannot open include file: 'R…….h': No such file or directory
            不能打開(kāi)包含文件“R…….h”:沒(méi)有這樣的文件或目錄。

            3、error C2011: 'C……': 'class' type redefinition
            類“C……”重定義。

            4、error C2018: unknown character '0xa3'
            不認(rèn)識(shí)的字符'0xa3'。(一般是漢字或中文標(biāo)點(diǎn)符號(hào))

            5、error C2057: expected constant expression
            希望是常量表達(dá)式。(一般出現(xiàn)在switch語(yǔ)句的case分支中)

            6、error C2065: 'IDD_MYDIALOG' : undeclared identifier
            “IDD_MYDIALOG”:未聲明過(guò)的標(biāo)識(shí)符。

            7、error C2082: redefinition of formal parameter 'bReset'
            函數(shù)參數(shù)“bReset”在函數(shù)體中重定義。

            8、error C2143: syntax error: missing ':' before '{'
            句法錯(cuò)誤:“{”前缺少“;”。

            9、error C2146: syntax error : missing ';' before identifier 'dc'
            句法錯(cuò)誤:在“dc”前丟了“;”。

            10、error C2196: case value '69' already used
            值69已經(jīng)用過(guò)。(一般出現(xiàn)在switch語(yǔ)句的case分支中)

            11、error C2509: 'OnTimer' : member function not declared in 'CHelloView'
            成員函數(shù)“OnTimer”沒(méi)有在“CHelloView”中聲明。

            12、error C2511: 'reset': overloaded member function 'void (int)' not found in 'B'
            重載的函數(shù)“void reset(int)”在類“B”中找不到。

            13、error C2555: 'B::f1': overriding virtual function differs from 'A::f1' only by return type or calling convention
            類B對(duì)類A中同名函數(shù)f1的重載僅根據(jù)返回值或調(diào)用約定上的區(qū)別。

            14、error C2660: 'SetTimer' : function does not take 2 parameters
            “SetTimer”函數(shù)不傳遞2個(gè)參數(shù)。

            15、warning C4035: 'f……': no return value
            “f……”的return語(yǔ)句沒(méi)有返回值。

            16、warning C4553: '= =' : operator has no effect; did you intend '='?
            沒(méi)有效果的運(yùn)算符“= =”;是否改為“=”?

            17、warning C4700: local variable 'bReset' used without having been initialized
            局部變量“bReset”沒(méi)有初始化就使用。

            18、error C4716: 'CMyApp::InitInstance' : must return a value
            “CMyApp::InitInstance”函數(shù)必須返回一個(gè)值。

            19、LINK : fatal error LNK1168: cannot open Debug/P1.exe for writing
            連接錯(cuò)誤:不能打開(kāi)P1.exe文件,以改寫(xiě)內(nèi)容。(一般是P1.Exe還在運(yùn)行,未關(guān)閉)

            20、error LNK2001: unresolved external symbol "public: virtual _ _thiscall C……::~C……(void)"
            連接時(shí)發(fā)現(xiàn)沒(méi)有實(shí)現(xiàn)的外部符號(hào)(變量、函數(shù)等)。

            function call missing argument list 調(diào)用函數(shù)的時(shí)候沒(méi)有給參數(shù)。

            member function definition looks like a ctor, but name does not match enclosing class 成員函數(shù)聲明了但沒(méi)有使用

            unexpected end of file while looking for precompiled header directive 在尋找預(yù)編譯頭文件時(shí)文件意外結(jié)束,編譯不正常終止可能造成這種情況。

            posted on 2009-02-20 10:35 wrh 閱讀(373) 評(píng)論(0)  編輯 收藏 引用


            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            導(dǎo)航

            <2011年1月>
            2627282930311
            2345678
            9101112131415
            16171819202122
            23242526272829
            303112345

            統(tǒng)計(jì)

            常用鏈接

            留言簿(19)

            隨筆檔案

            文章檔案

            收藏夾

            搜索

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            18岁日韩内射颜射午夜久久成人| 久久精品国产一区二区电影| 77777亚洲午夜久久多人| 久久精品国产亚洲AV大全| 亚洲国产成人久久笫一页| 精品一久久香蕉国产线看播放| 久久精品人妻一区二区三区| 久久久中文字幕日本| 久久亚洲精品中文字幕| 亚洲一区二区三区日本久久九| 麻豆久久久9性大片| 久久96国产精品久久久| 久久91精品国产91| 久久99免费视频| 久久婷婷人人澡人人爽人人爱| 国产亚洲欧美成人久久片| 午夜精品久久久久成人| 精品久久久久久国产免费了| 少妇高潮惨叫久久久久久| 日本亚洲色大成网站WWW久久| av国内精品久久久久影院| 久久综合鬼色88久久精品综合自在自线噜噜 | 久久久无码精品亚洲日韩按摩| 狠狠人妻久久久久久综合蜜桃| 亚洲精品乱码久久久久久蜜桃图片| 久久精品中文字幕有码| 久久免费精品一区二区| 99国产欧美久久久精品蜜芽 | 久久香蕉超碰97国产精品| 日本亚洲色大成网站WWW久久| 成人a毛片久久免费播放| 精品久久久久久无码专区| 久久99精品久久久久久久不卡| 精品久久亚洲中文无码| 久久亚洲精品无码aⅴ大香 | 99麻豆久久久国产精品免费| 日韩AV无码久久一区二区| 午夜精品久久久久久毛片| 人妻精品久久无码专区精东影业| 久久久久久久97| 久久综合欧美成人|