compression application

N

Neo

I am developing compression application in C++ (vs2k5) using zlib library
for compressing files/folders. I understand how to compress a single file,
but is there any way to compress a folder containing subfolder and files? I
mean is there some single function that does this or will I have to write my
own.



Regards,

-aims
 
C

Carl Daniel [VC++ MVP]

Neo said:
I am developing compression application in C++ (vs2k5) using zlib
library for compressing files/folders. I understand how to compress a
single file, but is there any way to compress a folder containing
subfolder and files? I mean is there some single function that does
this or will I have to write my own.

ZLIB doesn't include code to compress multiple files into a single file (a
la ZIP). You can invent your own format, or you might want to take a look
at "info-zip" http://www.info-zip.org/ for an open-source version of ZIP
(and the "parent" project of ZLIB).

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top