-
Hi there, thanks for your reply, I got the program working :) I'm a little unclear as to what you mean by "casting", can u please explain a little futher ?
Also what does "(char)a" do ? I think I got the idea but want to make sure I'm right.
Thanks again
CaptainChainsaw :)
-
Casting is basically converting one data type to another. You do it by typing (newtype)variable;. Example:
Code:
int theInt = 90;
char theChar = (char)theInt; // theChar now holds the ASCII equivalent of theInt
-
Thank you Wynd, I got the idea now!
CaptainChainsaw :)