fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. int i;
  6. for (i=1;i<=10;i++)
  7. {
  8. std::cout << i << "\r\n";
  9. }
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
1
2
3
4
5
6
7
8
9
10