• <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)  編輯 收藏 引用
            老司机午夜网站国内精品久久久久久久久 | 色综合久久夜色精品国产| 日韩亚洲国产综合久久久| 一本一本久久a久久精品综合麻豆| 漂亮人妻被中出中文字幕久久| 久久精品亚洲中文字幕无码麻豆| 国产成人无码精品久久久久免费 | 久久精品国产乱子伦| 99久久免费国产精品热| 亚洲v国产v天堂a无码久久| 奇米影视7777久久精品| 午夜精品久久影院蜜桃| 久久综合久久综合九色| 无码国内精品久久人妻蜜桃 | 久久久无码人妻精品无码| 久久久久99精品成人片牛牛影视| 99久久国产宗和精品1上映| 久久精品国产99久久香蕉| 国产高潮国产高潮久久久| 久久久久亚洲精品日久生情 | av午夜福利一片免费看久久| 思思久久好好热精品国产| 久久久久久久国产免费看| 中文字幕亚洲综合久久2| 国产精品99久久99久久久| 久久精品国产亚洲av日韩| 亚洲综合伊人久久大杳蕉| 怡红院日本一道日本久久| 99久久超碰中文字幕伊人| 久久人人爽人人爽人人片AV不 | 伊人色综合久久天天网| 久久久久久久综合综合狠狠| 亚洲乱亚洲乱淫久久| 久久国产一片免费观看| 久久国产成人午夜aⅴ影院| 久久精品国产黑森林| 模特私拍国产精品久久| 久久精品国产清自在天天线| 无码精品久久久天天影视| 久久99国产精品99久久| 91麻精品国产91久久久久|