摘要: char → int(字符 - '0'即可) 此处的char型只包含数字,如'1': 比如: char c = '1'; int i = c - '0'; 阅读全文
posted @ 2020-12-11 14:08 acchris 阅读(950) 评论(0) 推荐(0)