Thread: Read question
View Single Post
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#8
i think you could even go with something like:
Code:
while (stream)
{
    cache << stream;
    tmp.push_back(cache);
}
because streams stop at each space while outputing to strings (and discard the space).