Main.cc: In function 'int main()':
Main.cc:7:18: warning: for increment expression has no effect [-Wunused-value]
for(int i;1;i<=10;i++)
^
Main.cc:7:22: error: expected ')' before ';' token
for(int i;1;i<=10;i++)
^
Main.cc:7:23: error: 'i' was not declared in this scope
for(int i;1;i<=10;i++)
^