摘要: string类的成员函数c_str()c_str()函数原型:const char *c_str(void)c_str()函数功能:当程序用到atoi()、strcpy()这类的C函数时要求参数为char*型,就要将string类字符串转换成char型字符串;(string是个类,char是个常规类... 阅读全文
posted @ 2014-12-29 22:52 击进的Cocos 阅读(447) 评论(0) 推荐(0) 编辑