Main.cc: In function 'int main()': Main.cc:11:9: error: 'it' was not declared in this scope for(it i=0;i>a[i]; ^