I have to clear one doubt regarding the tar file..Even this documentation was of big help for me (How to parse a tar file in C++)....
But still some thing to ask..Is there any way to know the "FileType" in the .tar file. Here in the given data by you we just have the contents of file..But suppose if i want to get only a particular file like any .html file (If present in tar file) ..Then is there any way to do that ???
I know that i need to deal with file-type(.html in my case)..How could i know that if there is any .html file present in the tar file ??