如何在C ++中将std :: string转换为const char *或char *?