Main.cc: In function ‘int main()’: Main.cc:20:8: error: ‘i’ was not declared in this scope if(i == 1 && j == 1) ^ Main.cc:20:18: error: ‘j’ was not declared in this scope if(i == 1 && j == 1) ^