const char *c_str();. c_str()函数返回一个指向正规C字符串的指针, 内容与本string串相同. 这就看到了吧,返回值是const char*,这里需要注意一下。 1 string转const ...
確定! 回上一頁