问题
I want to create a program that , when executed, will compress a selected folder.
Can it be done?
回答1:
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.
回答2:
In C++ probably the best option is to go to the Boost library. You can find it here.
来源:https://stackoverflow.com/questions/1198717/creating-zip-file-from-a-folder-in-c