Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Input from stringstream

Code Block
std::string s("121 151 225 456");
std::stringstream ss(s);
T val;
do { ss >> val; cout << val << endl; } while( ss.good() ); 

...