
14 Jan
2009
14 Jan
'09
6:55 p.m.
Peter Json wrote:
Hi,
I'm trying to use boost to create a "zip" file containing more than one file.
To my understanding I should use boost::iosteams to do this.
In the boost documentation I there is only an example on how to unzip a file ..... http://www.boost.org/doc/libs/1_37_0/libs/iostreams/doc/classes/zlib.html#ex...
... but I dont understand how I could do the opposite (create a zip-archive) Especially how to do the naming of the files inside the archive.
Does anyone have an example on howto do create a zip-archive containing a couple of text files?
There is a distinction between zlib and zip files. this was asked and answered before. For details see: http://www.nabble.com/iostreams-%2B-unzip-td12725850.html#a12725850