C++ 具有公共领域许可的最佳 zip 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3220549/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The best zip library with public domain license
提问by Shiva
Does anyone know zip library of C/C++ in public domain license?
有谁知道公共领域许可证中的 C/C++ zip 库?
It meets the following requirements.
它满足以下要求。
- It operates by the unit like stb_image.c library
- Supported cross platform. Windows, Mac, Linux and so on.
- Language is C/C++
- License is public domain.
- 它由 stb_image.c 库等单元操作
- 支持跨平台。Windows、Mac、Linux 等。
- 语言是 C/C++
- 许可证是公共领域。
回答by dk123
I'd recommend ZipLib.
我会推荐ZipLib。
Personal reasons why I love this project:
我喜欢这个项目的个人原因:
- built around c++11 stl streams(e.g. decompresses into STL streams!)
- lightweight (no dependencies other than zlib)
- can be used on both windows & linux
- 围绕 c++11 stl 流构建(例如,解压为 STL 流!)
- 轻量级(除了 zlib 没有依赖项)
- 可以在 windows 和 linux 上使用
It took me a long time to find this project -- hope this helps someone.
我花了很长时间才找到这个项目——希望这对某人有所帮助。
回答by RobDangerous
回答by el.pescado
回答by x-x
回答by greyfade
回答by nobs
Public Domain is the LZMA sdk from 7z http://www.7-zip.org/sdk.html
公共域是来自 7z http://www.7-zip.org/sdk.html的 LZMA sdk
Problem: the documentation is "not existing" :-(
问题:文档“不存在”:-(
回答by eruciform
http://www.bzip.org/is pretty common and a requirement of tons of easy_installs in multiple target languages.
http://www.bzip.org/很常见,需要大量的多种目标语言的 easy_installs。
Update:I realize this is wrong, but it's a common misunderstanding, so I'm leaving it up as a sentinel to describe a frequent error.
更新:我意识到这是错误的,但这是一个常见的误解,所以我将它作为一个哨兵来描述一个频繁的错误。