C++中将char转换为int型

1.a-‘0’
2.a-48
如果int(a)为字符的ASCII码,

猜你喜欢

转载自blog.csdn.net/qq_33591712/article/details/83509897