fork download
  1. #include <iostream>
  2.  
  3. void main()
  4. {
  5. std::cout << "No, it can't." << std::endl;
  6. }
  7.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:11: error: ‘::main’ must return ‘int’
 void main()
           ^
stdout
Standard output is empty