#include <iostream>
using std::cout;
using std::cin;
using std::endl;
using std::string;
int main()
{
string word;
while (cin >> word); // read until end-of-file
cout << word << endl; // write each word followed by a new line
return 0;
}
It keep saying: no operator " <<" matches these operands on line 10 and 11