0
Help. How to make char into integer and then define what kind of number is it(decimal, binary, hexadecimal).
How to make char into integer and then define what kind of number is it(decimal, binary, hexadecimal). Then translate them into other two(i.e. i have decimal and i must translate it in binary and hexadecimal) and only by shifting. I cannt get this theme. Help
1 Odpowiedź
+ 3
char to String and then to Int
you have to make two functions
if you want to convert to binary and hexadecimal
hexadecimal is easy
use a switch
with the 15 elements in hexadecimal!
my opinion