9 Aug
2007
9 Aug
'07
10:32 a.m.
I have been experimenting with the boost::iostreams to create a gzip file, for example the following works fine: using namespace boost::iostreams; filtering_ostream out; out.push(gzip_compressor()); out.push(file_sink("test.gz", std::ios::binary)); out << "This is a gz file\n"; This will create a gz file containing a single compressed file (called 'test'). I can change the name of this internal file using a gzip_params struct and all is well. However, I want to create a single gzip file that contains multiple compressed files, each with a different filename. Does anyone know how to achieve this? Thanks in advance.