fork(3) download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. string x = "hello\n\
  6. new\n\
  7. world\n";
  8. cout << x << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
hello
new
world