View Single Post
Old 10-15-2013, 03:02 PM   #9
Superfreak04
FFR Veteran
FFR Veteran
 
Superfreak04's Avatar
 
Join Date: Jan 2007
Age: 33
Posts: 2,407
Default Re: Requesting help for programming/ CS majors?

Quote:
Originally Posted by dAnceguy117 View Post
on a simple level, characters are basically your letters, yes. the problem is there in your actual definition of the for loop, not in the code inside the loop. once you've already hit

Code:
char i;
it's invalid to then have

Code:
i=0;
because 0 is an int value, not a char value.
Ah, that makes a lot more sense now!
__________________
Superfreak04 is offline   Reply With Quote