Creating a new library. Tutorial please

I get this error: expected unqualified-id before '.' token

Why?

Because the compiler has no idea what a Morse is. You need to create an instance of the class in order to use it's non-static methods.