Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Hmmmm... Did you know that you can do: int myCharCode = (int)'a'; //ASCII Code ('a' to 97) char myChar = (char) 97; (97 to 'a') to change char to int or int to char ? Sorry if it isn't what you want :/ I don't know any code of ASCII Table, if I need to know one of them I just do: int ascii = (int)('a' + x); Where x is a integer under 26. x)
3rd Jan 2017, 9:19 PM
Volts
Volts - avatar
+ 1
have you tried casting (char)array[i]
3rd Jan 2017, 9:20 PM
Uran Kajtazaj
Uran Kajtazaj - avatar