LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-22-2011, 05:53 AM   #1
shamjs
Member
 
Registered: Sep 2011
Posts: 93

Rep: Reputation: Disabled
unzipping of a file


Hi all,

in my project i need to unzip an zipped file, i am not much aware of integrating the unzip source file to my c++ code.....

but my current project contains an unzip.h and unzip.cpp file which is compatible in windows this file is found in
http://www.openscenegraph.org/svn/os...ns/zip/unzip.h

i need the same functionality to be implemented in linux so that my project can unzip an zipped file in linux also

please guide me to acheive this

waiting for your valuable reply
 
Old 11-22-2011, 06:03 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Are you looking for something like http://www.zlib.net/ ?
 
Old 11-22-2011, 06:08 AM   #3
shamjs
Member
 
Registered: Sep 2011
Posts: 93

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Snark1994 View Post
Are you looking for something like http://www.zlib.net/ ?
ya please suggest me by giving the guidelines for how to make use of unzip (open source) file in linux
 
Old 11-22-2011, 07:38 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Quote:
Originally Posted by shamjs View Post
in my project i need to unzip an zipped file, i am not much aware of integrating the unzip source file to my c++ code.....
Well, I think you'd better call unzip via fork+exec, system or popen
 
Old 11-22-2011, 07:49 AM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by shamjs View Post
ya please suggest me by giving the guidelines for how to make use of unzip (open source) file in linux
From the website (http://www.zlib.net/) :

Quote:
Please read the FAQ and the manual before asking us for help. We are getting too many questions which already have an answer in the zlib documentation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting error while Unzipping a UNIX ZIP file sampige_sbr Linux - Software 4 02-21-2011 02:47 AM
Unzipping file anjanesh Linux - Newbie 4 01-11-2006 03:01 AM
Unzipping a .zip file sduffy89 Linux - Software 3 08-25-2004 08:55 AM
problem in unzipping the tar file jyome Linux - Software 1 09-04-2003 08:56 AM
unZipping a file frank symptoms Linux - Software 4 09-01-2003 11:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration