int main()
{
string fin = "doctype" ;
string Fin = toupper(fin);
cout << Fin << endl;
return 0;
}
I get the message
1 IntelliSense: no suitable constructor exists to convert from "int" to "std::basic_string<char, std::char_traits<char>, std::allocator<char>>" c:\CPP2013\Consoletoupper\Consoletoupper\Consoletoupper.cpp 15