TextStream implemented but the print() function isnt used correctly

This commit is contained in:
Simon
2025-04-22 15:57:22 +02:00
parent 7670ffdf42
commit d4f5a4780c
3 changed files with 16 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ class Stringbuffer {
protected:
/*! \brief Constructor; Marks the buffer as empty
*/
Stringbuffer() {}
Stringbuffer() : pos(0){}
/*! \brief Inserts a character into the buffer.
*
@@ -63,7 +63,9 @@ class Stringbuffer {
* flush() is required to reset the position pos.
*/
virtual void flush() = 0;
unsigned pos;
char buffer[80+1];
public:
/*! \brief Destructor (nothing to do here)
*/