Reputation: 6880
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.
Upvotes: 0
Views: 3446
Reputation: 14603
It is C, but possibly still a good option: http://libarchive.github.com/
Upvotes: 0
Reputation: 3027
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.
Upvotes: 2