📜  字符数组到字符串 c++ stl - C++ 代码示例

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

代码示例1
char arr[] = "mom";
std::cout << "hi " << std::string(arr);