Hi all, I am having a problem when trying to compile this.
from compiler:
error: name lookup of 'pixel_number' changed for new ISO 'for' scoping
error: obsolete binding at 'pixel_number'
I understand that I cannot use the pixel_number variable outside of the for loop, have read so in other posts. However, in this case it is in the for loops, inside of the if statement.
Do i need to pass it through a pointer so i do not change the variable?