經安全檢測,此網站為安全網站,請放心前往原始網址!

char to int - C++ Forum - cplusplus.com - The C++ Resources Network

Gaminic (1602) Alternatively, for digits, you can use the ASCII codes. A char is actually just a number interpreted through the ASCII table. By looking at the table, you can find that '0' is 48, '1' 49 and so on until '9' as 57. As a result, you can do th

www.cplusplus.com

網址安全性掃描由 google 提供