string 到unsigned char*

reinterpret_cast(str) std::string password( reinterpret_cast(write_password), l);
原文地址:https://www.cnblogs.com/nowheretrix/p/10583290.html