views:

528

answers:

2

I want to create a program that , when executed, will compress a selected folder.

Can it be done?

Thanks, Oded

+3  A: 

In C++ probably the best option is to go to the Boost library. You can find it here.

yeyeyerman
+4  A: 

If you don't want to use boost, there's also zlib, along with minizip, which is a wrapper around zlib for managing zip files.

Dominic Rodger
what are those exactly? can I use them in my c++ project?
Oded
Yes - minizip is in C, but I've used it for zipping and unzipping files from C++ - take a look at minizip.c in http://www.winimage.com/zLibDll/unzip101e.zip
Dominic Rodger