It is the base to convert to
10 - Decimal 16 - Hexidecimal 8 - Octal
A per the manual page http://www.cplusplus.com/reference/cstdlib/itoa/
문제
Can anybody tell me how to use itoa
function in C?
The prototype is:
char*itoa(int_Val,char*_DstBuf,int_Radix)
I think that int_Val
is the value that I want to convert
char*_DstBuf
, is the string where I want to store the result
But what is int_Radix
?
해결책
It is the base to convert to
10 - Decimal 16 - Hexidecimal 8 - Octal
A per the manual page http://www.cplusplus.com/reference/cstdlib/itoa/