For each loop in string

for(auto c:s1)
{
cout<<“c = “<<c<<”.”;
}

This is not working with C++ 14 compiler.
What should be written instead of keyword auto?