Simple Decompression Example

I'm looking for a simple example on how to decompress a zip file.
closed account (Dy7SLyTq)
The article is great, but i didn't see any implementation examples.
You didn't say whether you wanted to use a library or code it ground up (as in Catfish3's "LZW file compressor" article, which DTSCode provided the link to.)

If you go with zlib

then see

Usage Example

There is a link to the complete file (zpipe.c) near the top; the rest of the page breaks things down to explain what's up.

Thank you for the link, and I specified that I wanted a simple example on how to decompress a zip file, which meant I was looking for a way to decompress a zip file, that link i was given earlier by DTSCode was about a different compression algorithm all together.
Topic archived. No new replies allowed.