[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
6365
Age (days ago)
6365
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Trummer