As far as I know (and that's not alot), you cannot just assign a variable of one type to a variable of another type. Which is probably why
Quote:
Originally Posted by zero2
iBinary[j] = cInputOld[i];//assign cInputOld value to iBinary
|
doesn't work.
I'm just guessing here, but don't you need to parse the char variable to an int before you can assign the value to the iBinary array?