#include <iostream>
#include <string>
#include <sstream>
#include <algorithm>
#include <iterator>
#include<vector>
int main() {
using namespace std;
string sentence = "And I feel fine...";
istringstream iss(sentence);
copy(istream_iterator<string>(iss),
istream_iterator<string>(),
ostream_iterator<string>(cout, "\n"));
vector<string> tokens;
copy(istream_iterator<string>(iss),istream_iterator<string>(),
back_inserter(tokens));
vector<string> tokens{istream_iterator<string>{iss}, istream_iterator<string>{}};
}