fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. /* is this
  5. /* what you mean?
  6. */
  7.  
  8. /* or maybe
  9.   /* something like this? */
  10. */
  11.  
  12. int main() {
  13. cout << "Hello, World!" << endl;
  14. return 0;
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:10:2: error: expected unqualified-id before '/' token
 */
  ^
prog.cpp:10:2: error: expected constructor, destructor, or type conversion before '/' token
stdout
Standard output is empty