C++中字符串转换为整数atoi

1、将字符串转换为整数,atoi(str.c_str());

代码:


猜你喜欢

转载自blog.csdn.net/zhaoweiping123/article/details/80529696