有没有什么简单的zlib的教程? [英] What easy zlib tutorials are there?

查看:134
本文介绍了有没有什么简单的zlib的教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在找上zlib的一个很好的教程。我感兴趣的只是DECOM pressing档案。我也想知道我怎么能pferably按文件名单独访问所需文件存档,$ P $里面,如果可以的zlib做的。

I'm looking for a good tutorial on zlib. I'm interested only in decompressing the archives. I also want to know how I can access a desired file inside an archive, preferably by filename alone, if that can be done in zlib at all.

推荐答案

那么有很多zlib的文章,提示和教程。其中有些是

Well there are many zlib articles , tips and tutorials. Some of them are

1)Bobobobo的博客

网站<一个href=\"http://bobobobo.word$p$pss.com/2008/02/23/how-to-use-zlib/\">http://bobobobo.word$p$pss.com/2008/02/23/how-to-use-zlib/

这本文主要告诉您如何
  到使用zlib,且有一个片段
  code,这将让你去。这个
  项目将向您展示如何使用zlib。它的
  一个控制台项目,因为没有
  需要创建一个窗口展示
  使用zlib的。

This article basically tells you how to use zlib, and there is a snippet of code that will get you going. This project shows you how to use zlib. Its a console project, because there's no need to create a window to demonstrate use of zlib.

2)的zlib:加入工业级的COM pression到C / C ++应用

网站<一个href=\"http://www.$c$cguru.com/cpp/cpp/algorithms/com$p$pssion/article.php/c11735\">http://www.$c$cguru.com/cpp/cpp/algorithms/com$p$pssion/article.php/c11735

为了简便起见,本教程
  仅覆盖了基本的C风格
  接口。所有的固有概念
  会有相关的大多数其它
  绑定。自从C语言编写,
  将是最有利的
  要求。

For simplicity's sake, this tutorial covers only the basic C-style interface. All the concepts inherent there will be relevant to most other bindings. Since its in C language, it will be most beneficial to your requirements.

最后,你可以使用这个在zlib的太...可用
的Zlib包含它们。已根据效用函数手册中看看。

ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
                                   const Bytef *source, uLong sourceLen));

这篇关于有没有什么简单的zlib的教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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