fork download
  1. #include<iostream>
  2. void main()
  3. {
  4. cout<<"sdjkfgisf";
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:11: error: '::main' must return 'int'
 void main()
           ^
prog.cpp: In function 'int main()':
prog.cpp:4:2: error: 'cout' was not declared in this scope
  cout<<"sdjkfgisf";
  ^
prog.cpp:4:2: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^
stdout
Standard output is empty