fork(2) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main() {
  5. std::string world = "world!";
  6. std::string hello_world = "Hello " + world;
  7. std::cout << hello_world << std::endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
Hello world!