2022年1月10日
摘要: string中数字字符转int整型与int整型增入string型中(纯运用) 方法列前: string型转int型: string s("123"); int a = s[0] - '0'; int型增入string型中: int a; string s; s.push_back('0' + a); 阅读全文
posted @ 2022-01-10 23:14 我欲 阅读(407) 评论(0) 推荐(0)