fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout << "Hello"
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 15232KB
stdin
Standard input is empty
compilation info
prog.cpp:5:18: error: stray ‘\’ in program
  cout << "Hello" \n\n;
                  ^
prog.cpp:5:20: error: stray ‘\’ in program
  cout << "Hello" \n\n;
                    ^
prog.cpp: In function ‘int main()’:
prog.cpp:5:19: error: expected ‘;’ before ‘n’
  cout << "Hello" \n\n;
                   ^
stdout
Standard output is empty