[ create a new paste ] login | about

Link: http://codepad.org/ovWP27YS    [ raw code | output | fork ]

C++, pasted on Jul 12:
1
2
3
4
5
6
7
8
int main(){
int i = 0;
for(; i< 10; i++){
  cout<< i << endl;
}
cout<< i<<endl;
return 0
}


Output:
1
2
3
In function 'int main()':
Line 8: error: expected ';' before '}' token
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: