views:

134

answers:

3

Is there a simple way to create a zip archive in C++? I'm writing a GPL app and I looked in to minizip but it seems too complicated. Is there a simple library to do this? I already have the files on the disk, I just want to make a zip from them.

+3  A: 

Try the 7-zip library, it's LGPL.

Duracell
+1  A: 

E.g. Infozip

Anders K.
+1  A: 

Use zlib as a compression library in your C++ app (zlib.net). I've used it before and I believe it's the best option. If you look around you may also find some C++ wrappers that simplify the code.

Simon Ellis
I can't find a tutorial for it.
Jookia