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

Please share the code/guidence.

Thanks in advance,
Hafeez Shaik.

Recommended Answers

All 4 Replies

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.

Member Avatar for GreenDay2001

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.

commented: like those links! +18

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.