Boost logo

Boost Users :

From: Thomas Trummer (th.trummer_at_[hidden])
Date: 2007-06-13 06:11:28


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net