Class CGA_Stream
Placement in the overall structure
- Module
- device
- Base classes
- O_Stream
- CGA_Screen
- Derived classes
- None
- Time of creation
- Task 1
- Files
cgastr.h cgastr.cc
Description
The CGA_Stream class allows to print different data types as text strings
to a PC's CGA screen. For this, CGA_Stream needs to be
derived from the classes O_Stream and
CGA_Screen and finally the method flush ()
needs to be implemented.
Public methods
void CGA_Stream::flush ()
- Method to output/print the buffer contents of base class Stringbuffer. This method is implicitly called when the buffer is full, but can also be called explicitly to enforce output.