Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7528161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:18:05+00:00 2026-05-30T04:18:05+00:00

Continuation of: Standalone Cross Platform (Windows/Linux)) File Compression for C/C++? After many attempts on

  • 0

Continuation of:
Standalone Cross Platform (Windows/Linux)) File Compression for C/C++?

After many attempts on ZLIB ZZLIB LIBZIP MINIZIP I always get many problems at the compilation stage. Many google searches turned out OS-specific libraries and I can’t really find anything that fit my ‘simple’ needs.

I reduced my needs for the library (Or wrapper?) to this:

  • Works on both Windows and Linux OR 2 separate libraries; one which works on Windows and the other one on Linux, I can make 2 separate projects for Windows and Linux if it is really neccesary

  • Unpack file from zip to specified directory

  • Check if file exists in zip file

  • C OR C++ OR Mixed (yeah, that doesn’t matter)

  • Preferably Very Simple to include into any project
    (eg 5 c/cpp files and 1-3 header files? anyway not tons files, when I open all the libzip and zlib archives I have something like: “O my ..”)

I’ve checked many stackoveflow threads too with the words “Windows Linux ZIP C C++” but all the results seem so have libraries which I OR don’t know how to compile OR is too difficult to use OR it has too many ‘needed stuff’ for just simple zip extract and check if file exists.

I had put that project away for a later date and begun it now, and all those compilation errors came up (especially that VC++2010 doesn’t have the C-99 inttypes.h)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:18:07+00:00Added an answer on May 30, 2026 at 4:18 am

    I have had very good experience with Zipstream C++ library which gives you a nice OOP way of handling zip files.

    If your project already uses some of the bigger libs like Boost , then you could try to use the boost::iostreams with the gzip filter, however the functionality is somehow limited.

    Or if you happen to use Poco take a look at they’re implementation Poco::Zip

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This thread is the continuation of the below thread Trigger Windows Service when the
Ok its a continuation of my crap attempts of using client side scripts along
Continuation question from: VS2010 loads slowly. Can I profile extensions' respective startup time? After
[a continuation of this question] In order to embed resources in a SWF file,
In continuation to my question How to improve the performance of client server architecture
This is a continuation question from a previous question I have asked I now
This is a continuation of my question about reading the superblock . Let's say
This is in continuation with the question posted here: Finding the center of mass
Ok - this is in continuation from my earlier question about sending an email
This is a continuation of this question: Original Question (SO) The answer to this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.