static std::string ReturnString(std::string some_string)
return ("\t<" + some_string + " ");
It's actually a basic knowledge of C++ that you're missing. In C++, function bodies must be enclosed in curly braces, {}
. So, the correct definition for the function above would be:
static std::string ReturnString(std::string some_string)
{
return ("\t<" + some_string + " ");
}