• <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 閱讀(1620) 評論(0)  編輯 收藏 引用
            欧美精品九九99久久在观看| 久久久久亚洲精品男人的天堂| 奇米影视7777久久精品人人爽| 久久人人爽人人爽人人片av麻烦 | 手机看片久久高清国产日韩| 91麻豆国产精品91久久久| 国产毛片欧美毛片久久久| 国内精品伊人久久久久| 久久男人中文字幕资源站| 人妻无码中文久久久久专区| 国产精品久久久99| 久久久久久免费视频| 久久九九精品99国产精品| 久久久久婷婷| 亚洲国产二区三区久久| 久久精品青青草原伊人| 国产视频久久| 久久综合九色综合精品| 亚洲va久久久噜噜噜久久| 久久久久国色AV免费观看| 大伊人青草狠狠久久| av色综合久久天堂av色综合在 | 亚洲国产成人久久一区久久| 国产成人无码精品久久久免费| 亚洲欧美一级久久精品| 品成人欧美大片久久国产欧美... 品成人欧美大片久久国产欧美 | 久久久久久久国产免费看| 7777久久亚洲中文字幕| 亚洲乱码中文字幕久久孕妇黑人| 久久99精品久久久久久齐齐 | 日韩精品久久久肉伦网站 | 精品久久久久久99人妻| 国产精品99久久99久久久| 久久人人爽人人爽人人片AV不 | 国产色综合久久无码有码| 久久夜色精品国产噜噜亚洲a| 国产69精品久久久久9999| 久久本道伊人久久| 久久精品国产一区| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 青青青伊人色综合久久|