I just wanted to tryout using header files recently and just can't figure out my error. I googled for mostly an hour and it seems so simple for everyone - but still I miss the point to do it right anyhow.
Change #include <Screen_output.h>
to #include "Screen_output.h" .
If you use angle brackets, the compiler preprocessor will only search through the standard include directories.
By putting it in quotes, the preprocessor will first look in the current directory (where the file is) for the header file.
I used this class in main without a header and it worked fine - now there are errors - don't know why exactly - mybe I missed something big with headers?