It produces the same output as the source code provided with the dragon book

Solve a problem with calling virtual functions from constructors.
A problem with the labels in the while was solved.
The scanner checks if the eofbit is set after reading a character.
Character tags are printed as characters and not as integers.