#include <iostream>using namespace std; int main() { for(int i=1;i<10;){ cout<<i<<'\n'; } return 0}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:10:1: error: expected ‘;’ before ‘}’ token } ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!