Find Jobs
Hire Freelancers

C++ ZLib Extract Zip

$10-30 USD

Cancelled
Posted about 5 years ago

$10-30 USD

Paid on delivery
Hi - I saw this online, but it is not complete example for me. It only extracts the one file. I want to extract all files in a zip by using ZLib and minizip #include <zip.h> int main() { //Open the ZIP archive int err = 0; zip *z = zip_open("[login to view URL]", 0, &err); //Search for the file of given name const char *name = "[login to view URL]"; struct zip_stat st; zip_stat_init(&st); zip_stat(z, name, 0, &st); //Alloc memory for its uncompressed contents char *contents = new char[[login to view URL]]; //Read the compressed file zip_file *f = zip_fopen(z, name, 0); zip_fread(f, contents, [login to view URL]); zip_fclose(f); //And close the archive zip_close(z); //Do something with the contents //delete allocated memory delete[] contents; }
Project ID: 18866424

About the project

4 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $31 USD for this job
User Avatar
I'm computer engineering TA with 10+ years of experience. I'm experienced with data structures and algorithms , computation theory , discrete math and competitive programming Experienced using compression libraries and made fast compression techniques in C/C++ before will deliver fully commented code within few hours perfectly do your requirements
$25 USD in 1 day
5.0 (84 reviews)
5.5
5.5
User Avatar
Hello, I am a C/C++ programmer with some experience with zlib as used by the libpng library for reading image files. Getting libraries to work in one's own source code is indeed not trivial, talking from my experience with libraries such as libjpeg and libpng. It will take me some time to did into their documentation but as usual I will eventually get it to work. Do you want the project to be done in C or C++? Regards
$50 USD in 2 days
5.0 (13 reviews)
4.4
4.4
User Avatar
hi, I have a lot of experience with C Programming. If you contact me I can have your program written in an hour or two. Thank you for providing a detailed description, because I am very confident in my ability to perform this task. Hope to hear from you.
$20 USD in 1 day
5.0 (2 reviews)
2.4
2.4
User Avatar
Hi I'm new here I have 5 years of experience working with both of them, I also participate in codeforces competitive programming contest so I have experience solving complex computational problems and debugging!!. I always try to use them in the most efficient and simple way possible. I can assure you that I always give my best in every job. Best regards
$30 USD in 1 day
5.0 (1 review)
0.5
0.5

About the client

Flag of UNITED STATES
Athens, United States
0.0
0
Member since Mar 4, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.