The sample code you linked to is 36 lines to compress a file, with pages of comments to keep it from being confusing. If you're that kind of person and take out all the error checking, you're left...
Type: Posts; User: tabstop
The sample code you linked to is 36 lines to compress a file, with pages of comments to keep it from being confusing. If you're that kind of person and take out all the error checking, you're left...
So did you look at the zlib manual? Even a little bit?
I also don't see where you write anything to a file. If you redirected output, you'll have to get rid of the informational stuff at the top.