📜  char * 转字符串 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:57.454000             🧑  作者: Mango

代码示例5
const char *s = "Hello, World!";
std::string str(s);