c++ - Convert an int to ascii character - Stack Overflow

c++ - Convert an int to ascii character - Stack Overflow

瀏覽:1323
日期:2025-10-05
2011年1月7日 - It works by adding the ASCII value of char '0' to the integer digit. int i=6; char c = '0 '+i; ......看更多