• <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)  編輯 收藏 引用
            国产精品美女久久久久久2018| 色婷婷久久综合中文久久蜜桃av| 国产一久久香蕉国产线看观看| 久久久久久久97| 精品国产91久久久久久久| 久久久久亚洲精品无码网址| 久久福利资源国产精品999| 久久精品国产亚洲AV香蕉| 国产亚洲成人久久| 麻豆一区二区99久久久久| 久久毛片免费看一区二区三区| 亚洲国产精品久久电影欧美| 国产精品丝袜久久久久久不卡| 一本色道久久综合狠狠躁篇| 99久久99这里只有免费费精品| 性高湖久久久久久久久AAAAA| av无码久久久久不卡免费网站| 国产精品99久久久精品无码| 99热热久久这里只有精品68| 久久精品亚洲一区二区三区浴池| 色综合合久久天天给综看| 狠狠久久综合伊人不卡| 久久精品蜜芽亚洲国产AV| 中文字幕日本人妻久久久免费| 国产精品99久久久久久董美香| 久久精品国产第一区二区三区| 久久精品国产男包| 欧洲国产伦久久久久久久| 久久久久国产视频电影| AA级片免费看视频久久| 99精品久久精品一区二区| AV无码久久久久不卡蜜桃| 久久精品国产日本波多野结衣| 区亚洲欧美一级久久精品亚洲精品成人网久久久久 | 亚洲伊人久久大香线蕉综合图片| 久久久久人妻一区精品果冻| 国产精品成人99久久久久 | 国产69精品久久久久99尤物 | 99久久这里只精品国产免费| 久久中文字幕无码专区| 青青热久久国产久精品|