fork download
  1. std::cout<"Hello, world!\n";
  2.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:6: error: ‘cout’ in namespace ‘std’ does not name a template type
 std::cout<"Hello, world!\n";
      ^~~~
prog.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+#include <iostream>
 std::cout<"Hello, world!\n";
 ^~~
stdout
Standard output is empty