Write Output sing an ostream iterator
#include <iostream> #include <iterator> using namespace std; int main() { ostream_iterator<int, char> oi(cout); *oi = 6; *++oi = 88; return 0; }