I want to write code that zips a folder to a .zip file, or unzips a .zip file into a folder. I believe I need some library that supports it, am I right? If so, is there a specific library I should use? I want to write the code in C++ on a Linux machine (Ubuntu). Thanks for the help.
I suggest zlib, it's in C but is heavily tested, used for years, and it's portable almost on every platform that you can imagine.