Back with a video detailing ASCII values and how that works with characters. I also show you the pitfalls of trying to convert a character to an integer, and how to do it properly.
I think the reason you don't get any characters for values higher than 127 is that the ASCII table is only 128 characters. the rest is part of the extended ASCII table and is stored as negative range (-1 to -128) i think, so it is still an 8 bit int. I have not checked it out though.
To everyone, if you want to know more about the ASCII table just google it, and you will find it :)
@ericcartmansh No.
TheAltF4ToWin 1 hour ago
at 8:20 you could do (int(n) - int('0'))
I haven't tested it. But I'm sure it works. BTW thank you so much. You are amazing!!
sheikhbond 8 months ago
You keep going off on a tangent. it's kinda annoying, kinda funny.
capta1n0bv1u5 1 year ago
Thanks
MrJustasR 1 year ago
OMG!!! THANKS FOR YOUR GREAT HELP!!! 8D
GregarLink5 1 year ago
(char)7 makes a beep.
FireFreek1 1 year ago
Hey good lesoon make me more comf. using ASCII.
by the way I think ASCII starts from 32 , there is no character for less than 32.
am I right?
nugroor 1 year ago
I think the reason you don't get any characters for values higher than 127 is that the ASCII table is only 128 characters. the rest is part of the extended ASCII table and is stored as negative range (-1 to -128) i think, so it is still an 8 bit int. I have not checked it out though.
To everyone, if you want to know more about the ASCII table just google it, and you will find it :)
2testtest2 2 years ago
Thanks Man... Really helped...
SMacEwan 2 years ago
doesnt atoi mean ascii to int?
ericcartmansh 2 years ago