EvilZone

Programming and Scripting => C - C++ => : kenjoe41 September 17, 2014, 11:57:05 PM

: what compression lib to use?
: kenjoe41 September 17, 2014, 11:57:05 PM
Well you probably went over kill and wrote your back up program in C++ or for whatever reason you needed a compression. I am in need of a light compression lib, preferably header only to use in a C++ project. The real functionality is zipping a folder up that includes all the files.

Any takers?
: Re: what compression lib to use?
: Spl3en September 18, 2014, 11:14:03 PM
You probably want to take a look at zlib (http://www.zlib.net/zlib_how.html) if you want a well documented compression library.

If you need something quick & dirty, use IExpress (http://en.wikipedia.org/wiki/IExpress) command line, it is bundled with all recent Windows versions.
: Re: what compression lib to use?
: kenjoe41 September 19, 2014, 10:31:36 AM
Looked at Zlib and it has minizip but it doesn't do the job for me now.
Something light, header only would do the Job with the ability to compress a whole folder; not one of adding a file to it each time.

And cross-platform too.