摘要:
1.c++中string到int的转换1) 在C标准库里面,使用atoi:#include #include std::string text = "152";int number = std::atoi( text.c_str() );if (errno == ERANGE) //可能是std::... 阅读全文
posted @ 2015-11-07 17:50
琳千寻
阅读(513)
评论(0)
推荐(0)
2015年11月7日