标签:str har ring int code class 类型转换 c++ ++
char 转 string
string a = "123";
string 转char
string a = "123"; a.c_str();
string 转int
string a = "123"; int b = a.stoi(a);
标签:str har ring int code class 类型转换 c++ ++
原文地址:https://www.cnblogs.com/Phoenix-blog/p/9563804.html