Xref: utzoo comp.lang.c++:8717 gnu.g++:1004 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!umeecs!bagchi@dip.eecs.umich.edu From: bagchi@dip.eecs.umich.edu (Ranjan Bagchi) Newsgroups: comp.lang.c++,gnu.g++ Subject: stream sub-classes Message-ID: <2990@zipeecs.umich.edu> Date: 1 Aug 90 18:25:17 GMT Sender: bagchi@zip.eecs.umich.edu Organization: University of Michigan EECS Dept, Ann Arbor, MI Lines: 12 I've got a routine which inserts '\n's into a character array, such that when printed, no words will get broken due to screen width. Nothing big, eh? Welp, what I'd like to do is find some method of interfacing through a derived class into class ostream. That way, the whole wrapping process should be invisible to the normal c++ output processes. What is the easies way to do this? Or am I out of luck? -rj