
22 Feb
2009
22 Feb
'09
4:31 p.m.
Hello ! I want to use boost to read a text file like this : boost::iostreams::file_source file(filename.c_str()); But, when I want to get each single line with getline(), it doesn't compile : while (std::getline(file, line)) { ...} // COMPILATION ERROR What's the equivalent in boost for std::getline() ? Thks. -- View this message in context: http://www.nabble.com/boost%3A%3Aiostreams-%3A-equivalent-of-std%3A%3Agetlin... Sent from the Boost - Users mailing list archive at Nabble.com.