char *cha = new char[_http_result.length()+1]; memcpy(cha,_http_result.c_str(),_http_result.length() + 1);