itoa
<stdlib.h>
char * itoa ( int value, char * str, int base );把整数转换成字符串(非标准函数)
Parameters
-
value
- Value to be converted to a string. 要被转换的整数 str
- Array in memory where to store the resulting null-terminated string. 保存转换结果—没有空字符的字符串 base
- Numerical base used to represent the value as a string, between 2 and 36, where 10 means decimal base, 16 hexadecimal, 8 octal, and 2 binary. 数值,字符串表示的整数的进制,如果是10的话,就意味着是10进制