Thanks, I forgot about the cast.
Type: Posts; User: wbpribs
Thanks, I forgot about the cast.
When you have a variable such as
int var = 1;
and you pass it to a function
function(var);
Why is that?
How about the conditional operator instead?
return (i == -3) ? 1: 0;
The variable 'step' has the value 0 since that's what you initially passed to the back function. The condition of the second for loop in the back function is 'i < step' but both 'i' and 'step' equal...