Есть ли простой пример того, как распаковать ZIP файл и распаковать файлы в каталог? В настоящее время я использую zlib, и, хотя я понимаю, что zlib не имеет прямого отношения к zip файлам, в библиотеке zlibs "contrib" есть несколько дополнительных вещей. Я заметил и прочитал о "minizip", а после прочтения некоторых документов и просмотра некоторых из кода я не вижу простого примера, как распаковать ZIP файл и распаковать файлы в каталог.
Я хотел бы найти независимый от платформы способ сделать это, но если это невозможно, мне нужно найти способ для windows и mac.