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

23rd Oct 2017, 6:39 AM
mitsugi
mitsugi - avatar
1 Réponse
+ 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
29th Oct 2017, 7:15 PM
kernelpanic_r
kernelpanic_r - avatar