摘要:
一、利用stringstream对象 stringstream在int或float类型转换为string类型的方法中已经介绍过, 这里也能用作将string类型转换为常用的数值类型。 #include <iostream>#include <sstream> //使用stringstream需要引入这个头文件using namespace std;//模板函数:将st... 阅读全文
posted @ 2013-06-05 15:42
菜鸟加贝的爬升
阅读(558)
评论(0)
推荐(0)

浙公网安备 33010602011771号