Find Jobs
Hire Freelancers

C++ ZLib Extract Zip

$10-30 USD

Preklicano
Objavljeno pred približno 5 leti

$10-30 USD

Plačilo ob dostavi
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; }
ID projekta: 18866424

Več o projektu

4 ponudb
Projekt na daljavo
Aktivno pred 5 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
4 freelancerjev je oddalo ponudbo s povprečno vrednostjo $31 USD za to delo
Avatar uporabnika
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 v 1 dnevu
5,0 (84 ocen)
5,5
5,5
Avatar uporabnika
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 v 2 dneh
5,0 (13 ocen)
4,4
4,4
Avatar uporabnika
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 v 1 dnevu
5,0 (2 ocen)
2,4
2,4
Avatar uporabnika
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 v 1 dnevu
5,0 (1 ocena)
0,5
0,5

O stranki

Zastava UNITED STATES
Athens, United States
0,0
0
Član(ica) od mar. 4, 2019

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.