• <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)  編輯 收藏 引用
            久久国产欧美日韩精品| 97久久久精品综合88久久| 精品无码久久久久久久动漫| 99久久中文字幕| 国产精品综合久久第一页| 亚洲欧美国产精品专区久久| 伊人久久综合精品无码AV专区| 人妻少妇久久中文字幕| 久久亚洲中文字幕精品有坂深雪| 久久综合给久久狠狠97色| 伊人久久免费视频| 国内精品九九久久精品| 国产精自产拍久久久久久蜜| 亚洲人成精品久久久久| 国产免费久久精品丫丫| 亚洲色婷婷综合久久| 国产三级精品久久| 99久久成人国产精品免费| 久久99这里只有精品国产| 亚洲AV无码久久精品成人| 精品久久久久久国产免费了| 狠狠色噜噜色狠狠狠综合久久| 久久成人18免费网站| 久久久久久久综合日本亚洲| 久久精品aⅴ无码中文字字幕不卡| 欧美伊香蕉久久综合类网站| 国产精品久久久久9999| 伊人久久大香线焦AV综合影院| 久久久久久国产精品免费免费| WWW婷婷AV久久久影片| 伊人久久大香线蕉av一区| 综合久久一区二区三区| 久久精品国产精品亜洲毛片| 青青草原综合久久| 天天综合久久久网| 国产精品久久久久无码av| 国产Av激情久久无码天堂| 久久亚洲美女精品国产精品| 亚洲精品无码久久久久去q| 熟妇人妻久久中文字幕| 亚洲国产另类久久久精品黑人 |