954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need some C/C++ code to unzip a zip file.

Hello All,
I need some C/C++ code/calls to unzip a zip file.

Please share the code/guidence.

Thanks in advance,
Hafeez Shaik.

hafeez_sheik
Newbie Poster
1 post since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

Have you tried anything, or done any research at all? You'll notice that this is a C++ help forum, not a get-your-work-done-for-you forum.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

Perhaps, you would need to do some research and you you need a library. Here're few links

http://www.zlib.net
http://www.info-zip.org/

You could also use Google or for any other OpenSource library over here .

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

Or you could pay lots of $$$ for Pkware library, who is the original author of the zip file format.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

I think you may create a temporary named pipe in the C program itself and then pass the named pipe in the place of FILE* descriptor in your program.

pradip_
Newbie Poster
1 post since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You