Results 1 to 2 of 2

Thread: Reading Compressed data in C++

  1. #1
    Member
    Join Date
    Dec 2017
    Location
    banglore
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Reading Compressed data in C++

    How can a c++ program read data from a compressed file(eg. zip,7z etc)?
    Last edited by gsbr12; 18th December 2017 at 12:37.

  2. #2
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    539
    Thanks
    192
    Thanked 174 Times in 81 Posts
    The easiest way is to use a library, for .zip files I'd recommend the git fork of minizip, for .7z files use the LZMA SDK.
    http://schnaader.info
    Damn kids. They're all alike.

Similar Threads

  1. Reading list on compression
    By boxerab in forum Data Compression
    Replies: 6
    Last Post: 12th May 2017, 23:15
  2. Compressed data model
    By Shelwien in forum Data Compression
    Replies: 15
    Last Post: 22nd April 2017, 04:22
  3. Replies: 2
    Last Post: 19th April 2016, 00:00
  4. Reading to a buffer
    By Piotr Tarsa in forum The Off-Topic Lounge
    Replies: 17
    Last Post: 27th January 2012, 05:32
  5. BWT with compressed input data
    By Shelwien in forum Data Compression
    Replies: 3
    Last Post: 29th May 2009, 15:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •