The ASCII character “0” has the value 48, “1” the value 49, and so on. When you want to convert a single digit from ASCII to integer, you must subtract 48: ...
確定! 回上一頁