摘要: 知识点:c++中将string转换为int 于double的函数(原来还有这种好东西) 转化为int,有两种方式: string s = "123"; int c = atoi(s.c_str()); 或者int c = stoi(s);将string转化为double,也是两种方式。string 阅读全文
posted @ 2020-02-12 23:10 词不达意。 阅读(168) 评论(0) 推荐(0) 编辑