• <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)論排行榜

            久久久久久国产精品无码下载| 国内精品久久久久久99| 中文字幕久久精品| 久久综合狠狠综合久久综合88| 狠狠色丁香久久综合五月| 国产精品美女久久久久av爽| 亚洲欧美国产日韩综合久久| 久久久久亚洲AV无码专区体验| 久久AV高清无码| 久久无码专区国产精品发布| AV狠狠色丁香婷婷综合久久| 久久久久久久久66精品片| 久久99精品国产一区二区三区| 一本大道久久香蕉成人网| 久久亚洲高清观看| 亚洲午夜久久久久久久久久| 精品国产91久久久久久久a| 人妻少妇久久中文字幕| 国产成人精品综合久久久久| 久久久综合香蕉尹人综合网| 久久99精品久久久久久| 国产成年无码久久久久毛片| 久久精品免费一区二区| 亚洲欧洲中文日韩久久AV乱码| 四虎国产永久免费久久| 国产精品女同久久久久电影院 | 久久夜色精品国产| 久久91精品国产91久久小草| 久久久av波多野一区二区| 国产精品99久久久久久宅男小说| 久久久久亚洲AV成人网| 国产69精品久久久久99| 亚洲国产精品久久久久久| 精品久久久久久| 久久99精品久久久久久| 99久久99这里只有免费的精品| 久久精品无码午夜福利理论片| 亚洲精品无码专区久久久| 久久精品国产亚洲av麻豆小说| 久久久久亚洲AV无码专区体验| 99久久免费国产特黄|