阅读背景:

C++中string与char*相互转换

来源:互联网 
一、string转换为char*有3中方法:
1.data
string str="good boy";



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: