建议:异步,便携式文件io在c ++ [英] Recommendations: asynchronous, portable file io in c++

查看:162
本文介绍了建议:异步,便携式文件io在c ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个C ++,async io库,应该与unix和windows系统兼容。

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?

推荐答案

使用 boost :: asio boost :: iostreams 而不是asio流。 ASIO提供异步,而IOStreams提供强大的便携式IO选项。

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

这篇关于建议:异步,便携式文件io在c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆