[ create a new paste ] login | about

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

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


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


Create a new paste based on this one


Comments: