home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!axion!micromuse!adam@micromuse.co.uk
- From: adam@micromuse.co.uk (Adam Kerrison)
- Newsgroups: comp.lang.c++
- Subject: Stream classes and Inheritance
- Message-ID: <BtJ5wE.33y@micromuse.co.uk>
- Date: 25 Aug 92 08:21:49 GMT
- Sender: news@micromuse.co.uk
- Reply-To: adam@micromuse.co.uk
- Organization: MicroMuse Ltd, London, UK
- Lines: 30
- Nntp-Posting-Host: zaphod
-
- Hello there,
-
- I am a bit of a C++ novice. I have developed some applications in C++ but
- nothing very involved. I am now looking at developing a VERY simple
- windowing system for DOS. I am not trying to emulate Windows or Desqview but
- I am looking at something which gives me output (and possibly input) into
- several text windows.
-
- My idea so for is to use the ostream class and derive a class from it. This
- class would handle output into a window. Thus I can then assign cout
- (or cerr or clog) to one of my window classes and get output into windows -
- does this make sense ???
-
- My question is - which functions in the ostream classes handle the output of
- characters from the internal buffer to the screen ? Obviously, to get the effect
- I want I will have to overload these functions.
-
- If anybody has any ideas on this please mail me at the address below as I
- don't get chance to read this newsgroup all that much ( too busy :-( )
-
- Thanks in advance
-
- Adam
- ---
- ==========================================================================
- Adam Kerrison | Phone : +44 71 352 7774
- Technical Support | Fax : +44 71 351 7834
- MicroMuse Ltd | E-mail: adam@micromuse.co.uk
- London |
- SW10 0RN | ==========================================================================
-