I have a large number of sequentially-named zip files, each containing a single csv data file which I need to read into my C++ program.
1) Does anybody know of any open source libraries to handle zip files? (I've seen some unportable, expensive commercial ones only).
2) I could use a free program like gzip which can decompress zip files. I don't want to decompress each archive to disk and read in the resultant csv file as this would be excruciatingly slow. Instead, I've seen you can pipe the output of gzip to another program. Is it possible, using system() calls to gzip, to capture this piped output as an fstream or some other stream which I can then getline() to read the csv data rows?