Thread: LibBZip2 tutorial search trouble

  1. #1
    Registered User Chris87's Avatar
    Join Date
    Dec 2007

    LibBZip2 tutorial search trouble

    Out of all the compression types out there, I've held particular interest in BZip2. I use it a lot, but my dilemma is I want to embed functionalty for reading files in a BZip2 archive, but... not really extract them...

    I tried googling for a tutorial but all there are how-to's on using the command line utility. At most, all I can find is the API documentation. While it is helpful, it's pretty much the tutorials that help me use it the right way.

    I'd appreciate any recommended links on any tutorials. Also, LibBZip2 claims to have C++ wrappers for ease of use, so I'd highly prefer those in addition, if possible.

    You know, this would probably make for a good new tutorial to be featured on the main page. I mean there's a small SDL tutorial, so I say maybe a BZip2 tutorial couldn't hurt. This is only an opinion though. After all, tutorials hardly ever come out recently.

  2. #2
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    It is actually very easy. I wrote an app in about 5 mins that would decode a bzip2 archive and hold it in memory. Just read the docs on calling the lib.
    and more specifically

    There really are only a few function calls that even matter.

  3. #3
    Registered User Chris87's Avatar
    Join Date
    Dec 2007
    Thanks! Much appreciated

  4. #4
    Registered User
    Join Date
    Apr 2010
    i've been looking for this, too

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Allowing my search function to search sub directories!
    By Queatrix in forum Windows Programming
    Replies: 10
    Last Post: 09-30-2005, 04:54 PM
  2. Question 39: Quicksort vs Linear Search
    By Kleid-0 in forum A Brief History of
    Replies: 2
    Last Post: 04-17-2005, 11:03 AM
  3. Cprog tutorial: Design Patterns
    By maes in forum C++ Programming
    Replies: 7
    Last Post: 10-11-2004, 01:41 AM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 02:49 PM
  5. My DirectInput tutorial....
    By jdinger in forum A Brief History of
    Replies: 1
    Last Post: 06-18-2002, 11:32 PM