fork download
  1. #include std_lib_facilities.h
  2. int main{}
  3. {
  4. cout<<"Hello, World!\n";
  5. return 0;
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:10: error: expected "FILENAME" or <FILENAME>
#include std_lib_facilities.h
         ^
prog.cpp:2:9: error: expected ';' after top level declarator
int main{}
        ^
        ;
2 errors generated.
stdout
Standard output is empty