Take a look at http://www.wischik.com/lu/
Main Topics
Browse All TopicsPlease help me on this question of how we can compress and decompress file. Is there any inbuilt library functions in c language that will help to reduce coding. like in java when I searched for compression and decompression on google, I got java.util.zip.* package.
Thank you for your help.
dpd
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Take a look at http://www.wischik.com/lu/
I tried to use zlib.net and when execute the zpipe.c to understand the code by following steps from README file:
"To compile all files and run the test program, follow the instructions given at
the top of Makefile. In short "make test; make install" should work for most
machines. For Unix: "./configure; make test; make install". "
then when i try to ececute zpipe.c I received followinfg error.
cc zpipe.c -o zpipe
/tmp/ccpQaMME.o: In function `def':
/tmp/ccpQaMME.o(.text+0x2e
/tmp/ccpQaMME.o(.text+0x8d
/tmp/ccpQaMME.o(.text+0xec
/tmp/ccpQaMME.o(.text+0x16
/tmp/ccpQaMME.o(.text+0x1e
/tmp/ccpQaMME.o: In function `inf':
/tmp/ccpQaMME.o(.text+0x23
/tmp/ccpQaMME.o(.text+0x29
/tmp/ccpQaMME.o(.text+0x2e
/tmp/ccpQaMME.o(.text+0x33
/tmp/ccpQaMME.o(.text+0x39
/tmp/ccpQaMME.o(.text+0x3d
collect2: ld returned 1 exit status
so am I doing something wrong while compiling?........I saved zpipe.c file in the folder of name include/ where zlib.h is present.
Thanks,
dpd
I use bzip and it works very well.
http://www.bzip.org/
Business Accounts
Answer for Membership
by: evilrixPosted on 2009-10-27 at 09:36:59ID: 25674473
>> Is there any inbuilt library functions in c language that will help to reduce coding
No. If you just want to compress and decompress programatically take a look at zlib.
http://www.zlib.net/