std::string str.c_str() const

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

memcpy(cha,_http_result.c_str(),_http_result.length() + 1);
posted @ 2012-06-26 17:21  大约  阅读(523)  评论(0编辑  收藏  举报