string转char*

string s;

s.c_str()

原文地址:https://www.cnblogs.com/argenbarbie/p/5796796.html