fork(16) download
  1. #include <string>
  2. #include <iostream>
  3.  
  4. int main()
  5. {
  6. std::string s = "hello \n world!";
  7. std::cout << s << std::endl;
  8. }
Success #stdin #stdout 0.02s 2856KB
stdin
Standard input is empty
stdout
hello 
 world!