prog.cpp: In function 'int main()':
prog.cpp:7:25: error: 'printf' was not declared in this scope
printf("%d\n", i);
^
prog.cpp: At global scope:
prog.cpp:10:2: error: 'rn' does not name a type
}rn 0;
^
prog.cpp:11:1: error: expected declaration before '}' token
}
^