fork(6) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. std::string s("hello world");
  6. //std::operator<<(std::operator<<(std::cout, s), std::endl);
  7. std::operator<<(std::cout, s).operator<<(std::endl);
  8. return 0;
  9. }
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
hello world