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

            關(guān)于C中的文件描述符關(guān)聯(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 閱讀(380) 評(píng)論(0)  編輯 收藏 引用 所屬分類: C/C++

            導(dǎo)航

            <2025年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            統(tǒng)計(jì)

            常用鏈接

            留言簿

            隨筆檔案

            文章分類

            文章檔案

            搜索

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            亚洲欧洲精品成人久久曰影片 | 久久精品亚洲精品国产欧美| 久久亚洲国产精品一区二区| 久久亚洲国产成人影院网站| 久久人爽人人爽人人片AV| 久久免费精品一区二区| 亚洲国产成人乱码精品女人久久久不卡| 亚洲欧洲日产国码无码久久99| 99久久精品费精品国产| 中文字幕乱码人妻无码久久| 国产伊人久久| 精品久久久久久久| 久久久久亚洲AV无码观看| 久久国产精品免费| 情人伊人久久综合亚洲| 精品蜜臀久久久久99网站| 久久婷婷色香五月综合激情| 精品国产乱码久久久久久浪潮 | 久久久久亚洲av无码专区| 伊人色综合九久久天天蜜桃| 国内精品久久久久久久影视麻豆| 久久久一本精品99久久精品88| 亚洲精品tv久久久久久久久久| 18岁日韩内射颜射午夜久久成人| 无码久久精品国产亚洲Av影片| 国产精品一区二区久久精品涩爱| 久久精品国产99久久久香蕉| 国产精品久久久久影院色| 久久影院综合精品| 日韩AV无码久久一区二区| 久久精品国产免费观看三人同眠| 欧美日韩成人精品久久久免费看 | 99久久99久久| 国产欧美久久久精品| 国内精品久久久久| 成人精品一区二区久久久| 国产成人无码精品久久久免费| 成人a毛片久久免费播放| 人妻精品久久久久中文字幕| 亚洲性久久久影院| 欧美精品久久久久久久自慰|