I want uncompress a .zip file ! if some framework I need to add??

I download a .zip file from Curl

Now I need uncompress this file

what i show do

if some framework I can use In cocos2d-x

OK In the other way , I find unzip.h file in the cocos2d-x

so I read it and write the code below

void file = unzOpen64;
unzGoToFirstFile;
unzOpenCurrentFile;
char
buffer;

buffer = (char**)mallocfile)**1024);

unzReadCurrentFile(file, buffer, strlen((char**)file));
CCData**data = CCData::dataWithBytes((unsigned char )buffer, strlen);
CCImage
image = new CCImage();

image~~>initWithImageDatadata~~>bytes()));

image->saveToFile(“/Users/songtao/Library/Application Support/iPhone Simulator/5.1/Applications/2AF639B4-D8A0-4116-B19F-B6FB959956AC/Documents/2.jpg”);

xcode run and error I dont no where the error make

What about path for saving image. Maybe make it:

char * path = new path[300];
sprintf(path, “ss”,CCFileUtils::getWriteablePath().c_str(),2.jpg);
image->saveToFile(path);
delete [] path;