• <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 閱讀(1615) 評論(0)  編輯 收藏 引用
            久久精品国产2020| 国产精自产拍久久久久久蜜 | 日日躁夜夜躁狠狠久久AV| 久久精品极品盛宴观看| 精品一二三区久久aaa片| 国产91色综合久久免费| 欧美一级久久久久久久大| 色婷婷综合久久久久中文| 久久综合九色综合久99| 亚洲精品国精品久久99热| 国产精品美女久久久m| 久久国产影院| 韩国免费A级毛片久久| 久久久久这里只有精品| 久久精品中文字幕无码绿巨人| 精品久久久久国产免费 | 国产精品久久久香蕉| 久久不见久久见免费视频7| 久久亚洲AV无码西西人体| 国产精品久久永久免费| 亚洲精品美女久久久久99| 久久久久亚洲AV成人网人人软件| 一本久久知道综合久久| 亚洲国产日韩欧美久久| 国产精品免费看久久久香蕉| 久久久久AV综合网成人| 亚洲性久久久影院| 久久久噜噜噜久久| 久久精品成人一区二区三区| 亚洲综合婷婷久久| 青青青国产精品国产精品久久久久| 亚洲精品无码久久久久久| 亚洲色大成网站www久久九| 亚洲国产成人久久一区久久| 色偷偷91久久综合噜噜噜噜 | 久久WWW免费人成一看片| 欧美午夜精品久久久久久浪潮| 国产精品成人精品久久久| 久久综合久久综合久久| 久久精品男人影院| 国产激情久久久久影院|