I have a problem to output a string. Can you help me?
In the following, const char * i and const char ** o are given. 
The statement,  "*o = temp" produces an error, saying that "std::string" and "const char *" do not fit. What is the problem?
int mytask(const char * i, const char ** o)
{
    std::string temp = std::string("mytask:") + i;
    *o = temp; //How to modify?
    return (0);
}
 
     
     
    