C++ string转换为char*

来源:互联网 发布:启动子数据库 编辑:程序博客网 时间:2024/04/29 21:14
string s;
s.c_str();
Example:

string s;
cin>>s;
system(s.c_str());