Example - stream buffers (cont.)
ostream& ostream::operator<<(const char s[]) { int i = 0; while (s[i] != '\0') { rdbuf()->sputc(s[i]); // returns a ptr to the buffer i++; } return *this; }