Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nice Book to Learn + Need Help ;P
#11
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.
A developer, thinker & bliss guy that tries his hardest to enjoy life ~~~
Reply
#12
(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';
Reply
#13
Maybe it's the factor that both string & char are basically the same thing.
A developer, thinker & bliss guy that tries his hardest to enjoy life ~~~
Reply
#14
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  C# book? Miku 7 1,367 12-29-2011, 11:17 PM
Last Post: Miku
  At What Age Did You Learn C++ Win 66 20,657 12-11-2011, 02:52 PM
Last Post: Neel

Forum Jump:


Users browsing this thread: 2 Guest(s)