Recently, in completing a project, you need to use the C + + language to read the contents of a specified file within a zip file. A lot of information on the Internet, in response to the problems encountered in the process, I also studied a bit, is
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
Gzip is a file compression tool (or the compressed file format produced by the compression tool) that is designed to work with
Official Handbook:Http://www.zlib.net/manual.htmlReference connection:http://blog.csdn.net/zhoudaxia/article/details/8039519http://www.oschina.net/code/snippet_65636_22542http://blog.163.com/bh_binghu/blog/static/94553512011626102054571/Please
zlib IntroductionZlib is a library of functions for data compression, developed by Jean-loup Gailly and Mark Adler, and published on May 1, 1995 in the first edition of version 0.9. Zlib uses the DEFLATE algorithm, originally written for the Libpng
Original article: http://blog.sina.com.cn/s/blog_4a0a39c30100b4ao.html
Zlib (http://www.zlib.net/) is a very popular and open-source compression, decompression library, by Jean-LoupGailly and MarkDeveloped by Adler, the first version of 0.9 was
The three concepts zlib, Gzip, and zip are indeed confusing:
1. Gzip
Gzip is a data format in UNIX.
Gzip is built on zlib and includes a layer. Some additional information is added at the header and end.
Gzip-tar.gz.
Gzip is a File compression
This article mainly describes the use of Java-related classes can be implemented to the file or folder compression.
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
7z is a new
zlib IntroductionZlib is a library of functions for data compression, developed by Jean-loup Gailly and Mark Adler, and published on May 1, 1995 in the first edition of version 0.9. Zlib uses the DEFLATE algorithm, originally written for the Libpng
From: http://blog.chinaunix.net/uid-24607609-id-2118143.html today saw a gzopen function, searched his series of functions, and related usage C + + use Zlib library (-) 2010-10-07 09:37:35Category: C/1, Gzopen Open the zlib algorithm compressed
In practical applications, there are sometimes three options for processing zip compression and decompression:
Call rar.exe, unzip.exe, etc.
Use a ready-made Library
Full handwriting
First, although the task can be completed, the results cannot
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.