📜  将 char 转换为 int c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.684000             🧑  作者: Mango

代码示例5
int x  = '9' - 48;//converts '9' to 9 as an int