1

templates for << chaining + new manipulators

This commit is contained in:
churl
2022-05-06 16:51:41 +02:00
parent ab7a9c2ecb
commit 12513926d8
6 changed files with 187 additions and 184 deletions

View File

@ -13,10 +13,10 @@
void text_demo() {
/* Hier muess Code eingefuegt werden */
kout << "Attribut (GREEN on WHITE, blinking): "
<< (unsigned short)kout.attribute(CGA::WHITE, CGA::GREEN, true) << endl
<< "Attribut (WHITE on BLACK, no blink): "
<< (unsigned short)kout.attribute(CGA::BLACK, CGA::WHITE, false) << endl
kout << "Attribut (GREEN on WHITE): "
<< bgc(CGA::WHITE) << fgc(CGA::GREEN) << "GREEN on WHITE" << endl
<< "Attribut (WHITE on BLACK): "
<< bgc(CGA::BLACK) << fgc(CGA::WHITE) << "WHITE on BLACK" << endl
<< endl;
kout << "Test der Zahlenausgabefunktion:" << endl