title: How to read text files inside Archive file format (Rar/Zip) without extracting the Archive file using 'C' only?
body: <p>I have tried finding the solution for the problem on google but unable to find a solution that supports both the Archive formats i.e Rar/Zip.I tried debugging with 7zip <a href="http://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/lzma920.tar.bz2/download?use_mirror=kaz/%227zip%22" rel="nofollow">7zip</a> but it has functions that compress/decompress or extracts the contents of Archive files , I could not find any Functions that reads the text files inside Archive,While searching for the solution I found minizip supports both the formats Rar/Zip with <a href="http://code.google.com/p/miniz/downloads/detail?name=miniz_v115_r4.7z" rel="nofollow">minizip</a></p>
  
  <p>I tried to debug the minizip and tried open the text file inside Archive,but it failed.</p>
  
  <p>At Last i tried looking at the Zlib code which is a dll <a href="http://www.winimage.com/zLibDll/minizip.html//%22%22" rel="nofollow">zlib</a> , but a function to read text file from Archive was not there.</p>
  
  <p>So, can you please guide as how to move ahead in this task .</p>
  
  <p><strong>Making the requirement clear again</strong></p>
  
  <p>I just want to read the content of text files inside archive (rar/zip) For e.g I have Archive C:\Test.rar and Test.rar contains filesample.txt , so my requirement is to read the content of filesample.txt directly ,I dont want to extract the files.</p>