[Error] invalid operands of types 'const char [31]' and 'char [60]' to binary 'operator+'
No such operator exists for the appension of two operands of those types. So, I suggest you include the string header file from the C++ Standard Library and construct a temporary std::string object to allow for the invocation of this function: http://en.cppreference.com/w/cpp/string/basic_string/operator%2B
std::cout << "There once was a person named " + std::string(name);
In C++, a string literal is converted automatically to const char and since string literals are simply array, there is no overload for the '+' operator. So fix this, do the following:
cout << std::string("There once was a person named ") + name;