• <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>

            no_rain

            關于C中的文件描述符關聯(lián)C++ 的 iostream

            Recently I has read object-oriend multithreading using C++ and find a interesting question ,: is it possible for us to use the file descriptor and socket to be linked to the object iostream ? the answer is no... even in the book is yes ,(osolete book);

            This is a frequent question, and the answer is probably "no". At least with respect to standard C++, there's no way to obtain a descriptor from an fstream object or bind an fstream object to a descriptor. The reason, as your book suggested, is implementation dependecies. Just as new doesn't necessarily have to use malloc() to allocate raw memory, the fstream library isn't required to use stdio.h as its underlying implementation.

             

            posted on 2011-11-20 12:55 is-programmer 閱讀(365) 評論(0)  編輯 收藏 引用 所屬分類: C/C++

            導航

            <2025年5月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            統(tǒng)計

            常用鏈接

            留言簿

            隨筆檔案

            文章分類

            文章檔案

            搜索

            最新評論

            閱讀排行榜

            評論排行榜

            亚洲欧美成人久久综合中文网 | 欧美日韩精品久久久久| 久久乐国产精品亚洲综合| 久久久人妻精品无码一区| 少妇熟女久久综合网色欲| 久久夜色精品国产欧美乱| 国产免费久久精品99久久| 久久婷婷五月综合国产尤物app| 色欲久久久天天天综合网精品| 亚洲国产精品久久| 久久婷婷五月综合色奶水99啪 | 91麻豆精品国产91久久久久久| 久久涩综合| 亚洲国产精品久久久久婷婷软件| 伊人久久成人成综合网222| 婷婷综合久久狠狠色99h| 久久久久久久免费视频| 久久久综合九色合综国产| 久久婷婷人人澡人人爽人人爱| 欧美亚洲另类久久综合| 久久久噜噜噜久久熟女AA片| 久久亚洲国产精品123区| 久久精品国产福利国产秒| 欧美亚洲色综久久精品国产| 无码任你躁久久久久久| 久久国产精品99精品国产987| 亚洲AV无码久久| 亚洲精品乱码久久久久久蜜桃不卡 | 久久AV高潮AV无码AV| 亚洲?V乱码久久精品蜜桃| 国产精品日韩欧美久久综合| 国产精品久久午夜夜伦鲁鲁| 99久久99久久精品国产片果冻| 伊人久久大香线蕉综合网站| 久久成人18免费网站| 久久久久久噜噜精品免费直播| 国内精品久久久久久久影视麻豆| 亚洲国产精品久久久久| 久久成人18免费网站| 久久中文字幕人妻丝袜| 久久九九久精品国产免费直播|