fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7. int a,b;
  8.  
  9. cout<<a<<b<<;
  10.  
  11. while (a>0);
  12. { cout<<a<<endl;
  13. sistem " pause"
  14. }
  15. }
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. return 0;
  36. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
-2
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:9: error: expected primary-expression before ‘;’ token
prog.cpp:13: error: ‘sistem’ was not declared in this scope
prog.cpp:13: error: expected `;' before string constant
prog.cpp: At global scope:
prog.cpp:35: error: expected unqualified-id before ‘return’
prog.cpp:36: error: expected declaration before ‘}’ token
stdout
Standard output is empty