15 Mar
2007
15 Mar
'07
10:06 p.m.
Hello I'm having difficulties understanding some concepts of iostream filters. What I want to do? I want to have a filter (filter/line.hpp) that will split input (file) to lines. I've looked at class example but I still dont know how to use it for input (source) file. When I put filter on source stream, what is the best way to read it? I noticed most of examples use std::getline which gets line by default, but I decided to go for boost iostreams line filter because I thought it would be faster than getline approach.. Is this wrong? If not, how should I read file using line filter stream to get best preformance? Thanks for help
6466
Age (days ago)
6466
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aljaz