fork download
  1. #include <cstdio>
  2. #include <windows.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. for (float i = 10; i <= 100; i = i + 0.1)
  9. {
  10. printf("\r%.1f ", i);
  11. Sleep(100);
  12. }
  13. printf("\n");
  14.  
  15. return 0;
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,0): error CS1024: Wrong preprocessor directive
prog.cs(3,0): error CS1024: Wrong preprocessor directive
prog.cs(4,6): error CS1525: Unexpected symbol `namespace', expecting `identifier' or `static'
prog.cs(4,19): error CS1525: Unexpected symbol `;', expecting `identifier' or `static'
prog.cs(8,0): error CS1525: Unexpected symbol `for', expecting `identifier' or `static'
prog.cs(10,0): error CS1525: Unexpected symbol `printf', expecting `identifier' or `static'
prog.cs(12,1): error CS1514: Unexpected symbol `}', expecting `.' or `{'
Compilation failed: 7 error(s), 0 warnings
stdout
Standard output is empty