How do I read / write gzipped files in C++?
The iostream wrapper classes here look good, and here is a simple usage example:
iostream
gz::igzstre
This is from the "Gzstream Library Home Page"
Either compile gzstream.C by hand, place it in some library, and move gzstream.h into the include search path of your compiler. Or use the provided Makefile, adapt its variables, and follow the remarks in the Makefile.