7-Zip的:任何好的教程? [英] 7-Zip: Any good tutorials?

查看:180
本文介绍了7-Zip的:任何好的教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在考虑使用7-Zip格式收拾我的应用程序文件,因为它是一个非常紧凑和流行的格式。我无法找到如何使用C ++ SDK一些教程,虽然。我想一些教程,教我如何:

I'm thinking about using the 7-Zip format to pack my application files since it's a very compact and popular format. I can't find some tutorials on how to use the C++ SDK, though. I'd like some tutorials that teach me how to:


  • ,而不是直接从磁盘打开从内存(缓存)档案。

  • 提取单个文件存档内,缓冲,而不是磁盘。

  • 检查,如果某个文件可以在档案中找到。

推荐答案

从LMZA SDK文档:

From the LMZA SDK documentation:

ANSI-C LZMA德codeR

ANSI-C LZMA Decoder

~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~

请注意,ANSI-C接口
  code在LZMA SDK 4.58发生了变化。如果
  要使用旧的接口,你可以
  LZMA SDK下载previous版本
  从sourceforge.net网站。

Please note that interfaces for ANSI-C code were changed in LZMA SDK 4.58. If you want to use old interfaces you can download previous version of LZMA SDK from sourceforge.net site.

要使用ANSI-C LZMA德codeR您需要
  下列文件:1)LzmaDec.h +
  LzmaDec.c + types.h中

To use ANSI-C LZMA Decoder you need the following files: 1) LzmaDec.h + LzmaDec.c + Types.h

LzmaUtil / LzmaUtil.c是例子
  应用程序使用这些文件。

LzmaUtil/LzmaUtil.c is example application that uses these files.

该示例应用应该有你需要的一切,否则7-ZIP的实际源将有你需要的东西。还有一个C ++封装7-ZIP 这里应该简化了很多需要的OPS的。

The example app should have everything you need, else the actual source for 7-zip will have what you need. There is also a C++ wrapper for 7-zip here which should simplify a lot of the needed ops.

这篇关于7-Zip的:任何好的教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆