I need a portable c++ zip compression library, it should be free and windows/ *nix compatible. Oh, and preferably as small in size as possible but this is a minor requirement.
If anyone has a suggestion I'd love to hear it.
I need a portable c++ zip compression library, it should be free and windows/ *nix compatible. Oh, and preferably as small in size as possible but this is a minor requirement.
If anyone has a suggestion I'd love to hear it.
I use google for my compression needs
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
http://www.zlib.net/
If you want to wrap some C++ classes around it to make it "easier" to use for the rest of your projects, then that's possible as well.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
zlib doesn't support zip format, i reckon
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
I'm wondering if the OP meant zip as just any kind of data compression kind of jazz, or specifically zipping
I'm assuming one supporting zip. Or he could have left "zip" out of it, since "compression" is well understood enough. zlib is my choice too for compression. However, I just found that there's a zip wrapper for zlib.
http://www.winimage.com/zLibDll/minizip.html
But I only found this after wasting endless hours on google with "c++ zip library".
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
But who can beat either pkzip or pkunzip?
http://www.codeproject.com/cpp/unzip.asp
This uses the API that Mario linked to, if you need to see how to use it (or to have a C++ wrapper for the API).
Internally these do use zlib.
Last edited by Cat; 09-01-2006 at 01:35 PM.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.