• <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 閱讀(1633) 評論(0)  編輯 收藏 引用
            日日狠狠久久偷偷色综合0| 久久久久久久女国产乱让韩| 一本久久a久久精品综合夜夜| 国产精品视频久久久| 久久久国产精华液| 久久影院综合精品| 亚洲人成无码www久久久| 丰满少妇高潮惨叫久久久| 久久一区二区三区99| 久久久久无码精品国产不卡| 久久精品国产亚洲7777| 久久一日本道色综合久久| 久久无码精品一区二区三区| 精品久久一区二区| 久久丫忘忧草产品| 久久五月精品中文字幕| 欧美777精品久久久久网| 亚洲国产精品无码久久一区二区| 久久久久黑人强伦姧人妻| 久久精品嫩草影院| 久久国产亚洲精品无码| AV无码久久久久不卡蜜桃| 少妇久久久久久被弄到高潮| 久久久久久亚洲精品无码| 国产精品丝袜久久久久久不卡| 久久久老熟女一区二区三区| 久久国语露脸国产精品电影| 四虎影视久久久免费观看| 久久婷婷人人澡人人| 国内精品欧美久久精品| 久久精品国产只有精品2020| 狠狠干狠狠久久| 色综合久久中文综合网| 亚洲综合婷婷久久| 国产精品激情综合久久| 99久久亚洲综合精品成人| 久久久中文字幕| 精品久久综合1区2区3区激情| Xx性欧美肥妇精品久久久久久| 日本福利片国产午夜久久| 亚洲国产精品久久久久婷婷软件 |