How do I read / write gzipped files in C++?

后端 未结 5 895
渐次进展
渐次进展 2020-12-14 03:51

How do I read / write gzipped files in C++?

The iostream wrapper classes here look good, and here is a simple usage example:

gz::igzstre         


        
5条回答
  •  抹茶落季
    2020-12-14 04:41

    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.

提交回复
热议问题