fork download
  1. #include <iostream>
  2. #include <cstring>
  3.  
  4. std::ostream& operator << ( std::ostream& t, const char * n)
  5. {
  6. for( int i=0; i<3; ++i )
  7. {
  8. t.write( n, strlen(n) );
  9. }
  10. return t;
  11. }
  12.  
  13. int main() {
  14.  
  15. std::cout << "ho" << std::endl;
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
hohoho