Re: Outputing to screen..

Cydexia (cydexia@sprynet.com)
Mon, 01 Apr 1996 22:29:33 -0800


ostrstream is an inherited stream, so an instance of it can be supplied to
display.

after the display function outputs the result to your ostrstream, you may use
its member functions to get a char* to the  string which can be supplied to
TextOut.

I'm not gonna explain more, lookup the definition of ostrstream class in
strstream.h, or on the SFU network for some screwy reason, strstrea.h

Hourash Falati,
Cydexia lameware Canada.


Andrew Pojar wrote:

> > Hi
> > Could somebody please give me a hint as to how am I
> > supposed to output to the screen using display(ostream &)???
> >
> > Am I supposed to convert ostream into a string, so that TextOut can output
> > that??
> > Thanks a lot.
> >
>
> Hi
>
> I was wondering if you got an answer to your question. If so I would love
> to see it. Thanks
>
> Andrew