Is it possible to store the contents of a file in a vector of strings, with the delimiter being whitespace...using C++ algorithms and function objects?
Oh yeah, and the vector's size cannot be predetermined...I'd like to push_back each word until eof.
I see a problem with this approach:
-algorithms such as generate(...) and for_each(...), i don't believe, take back_inserter_iterators, so not declaring a vector size would be trouble.