自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

a compete demo of iostream filter chain

#include <sys/stat.h>#include <fcntl.h>#include <sstream>#include <string>#include <list>#include <boost/iostreams/concepts.hpp>#include <boost/files...

2009-09-18 04:28:13 87

iostream filter chain

FILE* pf = popen("/bin/tar xf - ", "w"); if (pf != NULL) { ifstream file(src_file, ios_base::in | ios_base::binary); io::filtering_streambuf<input> in; i...

2009-09-18 04:23:20 80

Use boost::iostreams::pipe

Following code implements the same function as "tar cf - workspace |gzip -9 -c >1.tar.gz"performance is also good.#include <boost/iostreams/device/file.hpp>#include <iostream>#i...

2009-04-25 15:05:48 325

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除