fork download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. enum BOOL
  5. {
  6. FALSE=0,
  7. TRUE=1
  8. };
  9.  
  10. int main()
  11. {
  12. BOOL var = BOOL(true);
  13. BOOL war = static_cast<BOOL>(true);
  14. }
  15.  
Success #stdin #stdout 0s 4372KB
stdin
Standard input is empty
stdout
Standard output is empty