[iostreams] Using bzip2_decompressor with text files

13 Jun
2007
13 Jun
'07
10:11 a.m.
Hi, I have a text file that is compressed with bzip2 and im trying to read with it the iostream lib and parse it with iostream::operator>>. Unfortunately this doesn't work so I wanted to ask if this is an unsupported scenario or if I'm doing something wrong. filtering_istream in; in.push(bzip2_decompressor()); in.push(file_source("text.bz2")); in >> lineId; // std::string lineId Regards, Thomas
6593
Age (days ago)
6593
Last active (days ago)
1 comments
2 participants
participants (2)
-
Thomas Trummer