Unzip a zip file using boost and Visual C ++ 2005?

Is there a library in boost that can be used to decompress a zip file?

+4
source share
3 answers

I do not think boost can do this.

I suggest zlib , but you might find this hard to use. If you need a very simple (but powerful) C ++ shell ( directly process zip files , unlike zlib), the ZIP Archive will do the trick;) (the code needs several settings, but works well, I ported it to Visual C + + 2008 and removed the ATL dependency, it's pretty simple).

+3
source

boost::iostreams has a gzip filter that you can use. As a note, it only works with individual compressed files, not archives. In other words, he does not understand this if the archive has an internal directory structure (multiple files) instead of simply compressing one file. If you need full archive functionality, then zlib is the best choice.

+4
source

Why should he be promoted? Can't you use zlib?

0
source

All Articles