Support Forums

Full Version: Nice Book to Learn + Need Help ;P
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Maybe not having the IDE makes it harder XD
I know exactly what int fail = 10; is.
Maybe it's just the factor of the add-on of the char, I guess I can say I don't understand chars at all.
(01-28-2012, 03:23 PM)Pacman-Nemtap Wrote: [ -> ]Maybe it's just the factor of the add-on of the char, I guess I can say I don't understand chars at all.

that's what I don't understand, they work the same as any other variable.

Code:
int x = 10;
Code:
char x = 'a';
Maybe it's the factor that both string & char are basically the same thing.
(01-28-2012, 03:31 PM)Pacman-Nemtap Wrote: [ -> ]Maybe it's the factor that both string & char are basically the same thing.

NO... Not even close. Char can only hold a char value, unless you have a char string, and string can hold a string value, which can also consist of only one char value, but it's not identified as a char, it's still identified as a string.
Pages: 1 2