Main.cc: In function 'int main()':
Main.cc:7:20: error: expected ';' before ')' token
for(int i=1;i++){
^
Main.cc:9:9: error: 't' was not declared in this scope
t+=n;
^
Main.cc:10:11: error: 'm' was not declared in this scope
n=m/k;
^