We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
就是这样,下次再努力搜索一下;)
2.2.4。换行过滤器
http://www.boost .org/doc/libs/1_47_0/libs/iostreams/doc/tutorial/line_wrapping_filters.html
Here it is, search harder next time ;)
2.2.4. Line-Wrapping Filters
http://www.boost.org/doc/libs/1_47_0/libs/iostreams/doc/tutorial/line_wrapping_filters.html
如果您使用的是 POSIX 平台,您可以查看 ncurses 或 termcap,看看它们是否能够满足您的需求。
If you're on a POSIX platform, you could look at ncurses or termcap and see if they will accomplish what you need.
https://github.com/catchorg/textflowcpp 可能是当今最好的方法。
https://github.com/catchorg/textflowcpp is probably the best way to do this nowadays.