• <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>

            子彈 の VISIONS

            NEVER back down ~~

            C++博客 首頁 新隨筆 聯系 聚合 管理
              112 Posts :: 34 Stories :: 99 Comments :: 0 Trackbacks

            Quote of the Day:
            When something can be read without effort, great effort has gone into its writing.
            --Enrique Jardiel Poncela

             

            為了簡化,例程只跟主題相關:

             #include<iostream>

            using namespace std;

            int main(int argc, char** argv)
            {
                cout << "English" << endl;
                wcout << L"中文" << endl;

                return0;
            }

            1) build log:

            “converting to execution character set: Illegal byte sequence”

            -finput-charset=charset
            Set the input character set, used for translation from the character set of the input file to the source character set used by GCC. If the locale does not specify, or GCC cannot get this information from the locale, the default is UTF-8. This can be overridden by either the locale or this command line option. Currently the command line option takes precedence if there's a conflict. charset can be any encoding supported by the system's iconv library routine.

            根據上面的說法,在沒有指定locale或GCC不能獲取現場信息時,會默認編碼為UTF-8。同時,設置也可能會被

            -finput-charset=charset 選項指定的設置覆蓋 -- 優先采用這個選項。

             

             CodeBlocks 8

            -finput-charset=GBK編譯選項,使GCC能夠正確解碼源文件。

             

            2) build log:

            “error: `std::wcout' has not been declared” 

             

            查了半天,結果還是不盡人意,據說是MingW gcc 暫不支持 wostream。

             

             

            posted on 2009-12-31 10:36 子彈のVISIONS 閱讀(1622) 評論(0)  編輯 收藏 引用
            综合网日日天干夜夜久久| 日韩久久久久中文字幕人妻| 欧美亚洲色综久久精品国产| 精品少妇人妻av无码久久| 7国产欧美日韩综合天堂中文久久久久 | 久久久国产打桩机| 国产成人精品久久免费动漫 | 日韩va亚洲va欧美va久久| 国产成人精品综合久久久久| 国产福利电影一区二区三区,免费久久久久久久精 | 欧美午夜A∨大片久久| 精品久久久久久无码专区不卡| 一本久久a久久精品亚洲| 亚洲色欲久久久综合网东京热 | 久久久亚洲欧洲日产国码是AV | 伊色综合久久之综合久久| 久久精品人成免费| 亚洲国产精品一区二区三区久久| 亚洲国产精品综合久久网络 | 狠狠综合久久AV一区二区三区| 72种姿势欧美久久久久大黄蕉| 中文字幕久久精品| 久久婷婷五月综合国产尤物app| 69久久精品无码一区二区| 欧美熟妇另类久久久久久不卡| 久久九九久精品国产免费直播| .精品久久久麻豆国产精品| 久久香综合精品久久伊人| 亚洲精品无码成人片久久| 狠狠色丁香久久婷婷综合五月| 波多野结衣久久精品| 色偷偷91久久综合噜噜噜噜| 久久精品国产一区二区电影| 久久精品国产只有精品66 | 伊人久久综合热线大杳蕉下载| 久久午夜无码鲁丝片| 亚洲av伊人久久综合密臀性色| 97精品伊人久久久大香线蕉| 久久九九兔免费精品6| 久久婷婷五月综合色奶水99啪| 色综合久久无码中文字幕|