![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程/C++
文章平均质量分 60
pantaovay
这个作者很懒,什么都没留下…
展开
-
atoi(string到int)
atoiint atoi ( const char * str ); Convert string to integerParses the C string str interpreting its content as an integral number, which is returned as an int value.The function first d原创 2012-06-21 11:28:02 · 581 阅读 · 0 评论 -
强大的内核格式化(incore formatting)
#include #include #include using namespace std;int main(){ string lit = "378+123;"; istringstream instr(lit); int word; while(instr >> word) cout return原创 2012-06-21 11:28:46 · 430 阅读 · 0 评论