Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. //using namespace std;
  3. #include <string>
  4.  
  5. struct IO {
  6. };
  7.  
  8. IO cout;
  9.  
  10. void operator << (IO const& io, std::string const& s) {
  11.     for(int i = 0; i < s.size(); i++) {
  12.         std::cout << (int)s[i] << ' ';
  13.     }
  14. }
  15.  
  16. int main() {
  17.     for(int i = 0; i < 10; i++) {
  18.         cout << "Hello world ";
  19.     }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement