fork download
  1. #include <iostream> // This allows us to use input/output
  2.  
  3. int main() {
  4. std::cout << "Hello, World!" << std::endl; // Print message to the console
  5. return 0; // Exit the program
  6. }
  7.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Hello, World!