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