You should insert statement
ss.clear();
that to clear the eof state of the stream. For example
char words[8] = "one two";
std::string word1;
std::string word2;
std::stringstream ss;
ss << std::strtok(words, " ");
ss >> word1;
ss.clear();
ss << std::strtok(NULL, " ");
ss >> word2;
std::cout << "Words: " << word1 << " " << word2 << std::endl;