fork download
  1. #include <iostream>
  2. using namespace std;
  3. void doGreetings() // The procedure
  4. {
  5. cout << "Hello World!";
  6. }
  7. int main()
  8. {
  9. doGreetings();
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Hello World!