本文介绍了C/C++ 打包和压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在从事一个商业项目,该项目需要将几个文件捆绑(打包)到一个存档中,然后进行压缩.现在我们的实用程序库中有 zlib,但看起来 zlib 没有将多个文件压缩到一个存档中的功能.有谁知道我可以使用的免费图书馆吗?
I'm working on a commercial project that requires a couple of files to be bundled (packed) into an archive and then compressed. Right now we have zlib in our utility library, but it doesn't look like zlib has the functionality to compress multiple files into one archive. Does anyone know of free libraries I'd be able to use for this?
推荐答案
也许 libtar?同样在 BSD 许可下.
Perhaps libtar? Also under a BSD license.
这篇关于C/C++ 打包和压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!