C++ string和C风格字符串

https://msdn.microsoft.com/en-us/library/syxtdd4f.aspx#basic_string__replace

If you need to convert a Standard C++ string to a null-terminated C-style string, use the basic_string::c_str member.

原文地址:https://www.cnblogs.com/zhengfa-af/p/8295232.html