fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. _Bool b = false;
  7. if(b == 0)
  8. printf("FALSE");
  9. else
  10. printf("TRUE");
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:2: error: ‘_Bool’ was not declared in this scope
  _Bool b = false;
  ^
prog.cpp:6:8: error: expected ‘;’ before ‘b’
  _Bool b = false;
        ^
prog.cpp:7:5: error: ‘b’ was not declared in this scope
  if(b == 0)
     ^
prog.cpp:8:17: error: ‘printf’ was not declared in this scope
   printf("FALSE");
                 ^
prog.cpp:10:16: error: ‘printf’ was not declared in this scope
   printf("TRUE");
                ^
stdout
Standard output is empty