Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- //using namespace std;
- #include <string>
- struct IO {
- };
- IO cout;
- void operator << (IO const& io, std::string const& s) {
- for(int i = 0; i < s.size(); i++) {
- std::cout << (int)s[i] << ' ';
- }
- }
- int main() {
- for(int i = 0; i < 10; i++) {
- cout << "Hello world ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement