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.

 

相关文章: