Main.cc: In function 'int main()': Main.cc:19:22: error: 'I' was not declared in this scope if(ZS(i)&&ZS(I+2)){ ^