void simple_tokenizer(string s) { stringstream ss(s); string word; while (ss >> word) { cout << word << endl; } }