const value_type *c_str( ) const;
#include <string> using namespace std; void main() { string s("hello world"); const char *p = s.c_str(); }
64,648
社区成员
250,503
社区内容
加载中
试试用AI创作助手写篇文章吧