Any input a numeric string (9 words), to convert it to an integer (c ++)

Baidu has about

Stringstream heard Chaohaoyong
library defines three types: istringstream, ostringstream stringstream and, respectively, to the input stream, and output the input and output operations.
Here Insert Picture Description
It
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_44769592/article/details/91054839