Recommendations: asynchronous, portable file io in c++

好久不见. 提交于 2020-01-01 15:05:08

问题


I'm looking for a C++, async io library that should be compatible with both unix and windows systems.

What are some good libraries? Is this asking too much for a library that does both systems? What are peoples' experiences with this matter?


回答1:


Use boost::asio with boost::iostreams instead of asio streams. ASIO provides asynchronousness, while IOStreams provide powerful portable IO options.




回答2:


Try to take a look at boost::asio. I've never personally used it but I heard good things about it.



来源:https://stackoverflow.com/questions/1925917/recommendations-asynchronous-portable-file-io-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!