fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. return 0;
  7. echo %ERRORLEVEL%
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:7:2: error: ‘echo’ was not declared in this scope
  echo %ERRORLEVEL%
  ^~~~
prog.cpp:7:8: error: ‘ERRORLEVEL’ was not declared in this scope
  echo %ERRORLEVEL%
        ^~~~~~~~~~
prog.cpp:8:1: error: expected primary-expression before ‘}’ token
 }
 ^
stdout
Standard output is empty