Feb 16, 2010 at 9:39pm
simple question is this:
int me = 5;
john = (char)(me + '0') + john
same things as just doing john = char (me+'0') + john
?
(char) is the same thing as just typing char ?
Feb 16, 2010 at 9:53pm
demons john;
Sorry, I just had to.
Feb 16, 2010 at 10:03pm
(char)/*something*/
is a C-style cast and char( /*something*/ )
is an alternative form, using an initializer-like syntax.
Last edited on Feb 17, 2010 at 3:58am
Feb 17, 2010 at 12:45am
i seee, so its the same, ok thanks
Feb 17, 2010 at 1:04am
demons john;
Sorry, I just had to. |
Why must I always be left out of the in-jokes. :(
Last edited on Feb 17, 2010 at 1:04am