Peter Json
2009-01-14 17:53:41 UTC
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#examples
... 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?
Thanx
/Peter/
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#examples
... 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?
Thanx
/Peter/
--
View this message in context: http://www.nabble.com/Using-iostream-to-create-ZIP-archive-tp21461391p21461391.html
Sent from the Boost - Users mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Using-iostream-to-create-ZIP-archive-tp21461391p21461391.html
Sent from the Boost - Users mailing list archive at Nabble.com.