• <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中的文件描述符關聯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 閱讀(372) 評論(0)  編輯 收藏 引用 所屬分類: C/C++

            導航

            <2025年6月>
            25262728293031
            1234567
            891011121314
            15161718192021
            22232425262728
            293012345

            統計

            常用鏈接

            留言簿

            隨筆檔案

            文章分類

            文章檔案

            搜索

            最新評論

            閱讀排行榜

            評論排行榜

            日本高清无卡码一区二区久久| 久久综合给合综合久久| 久久精品亚洲AV久久久无码| 精品综合久久久久久98| 蜜臀av性久久久久蜜臀aⅴ麻豆| 国内精品伊人久久久久AV影院| 成人免费网站久久久| 亚洲国产天堂久久久久久| 久久久无码精品亚洲日韩按摩| 久久亚洲国产精品一区二区| 四虎影视久久久免费| 99久久无色码中文字幕| 国内精品伊人久久久久妇| 久久久久青草线蕉综合超碰| 久久AV高清无码| 国产精品乱码久久久久久软件| 国产午夜精品久久久久免费视 | 激情久久久久久久久久| 久久久久亚洲爆乳少妇无| 久久99久久99精品免视看动漫| 无码八A片人妻少妇久久| 久久青草国产精品一区| 久久精品国产亚洲AV电影| 国产99久久久国产精品小说| 国产午夜电影久久| 国产情侣久久久久aⅴ免费| 一本一本久久A久久综合精品| 久久这里有精品视频| 97超级碰碰碰碰久久久久| 久久久久久a亚洲欧洲aⅴ| 97久久国产综合精品女不卡| 亚洲成av人片不卡无码久久 | 久久精品欧美日韩精品| 国内精品综合久久久40p| 久久这里的只有是精品23| 久久国产精品无码网站| 久久精品无码一区二区三区日韩| 88久久精品无码一区二区毛片| 久久免费小视频| 日韩欧美亚洲综合久久影院Ds| 久久综合久久鬼色|