Creating a new library. Tutorial please

This is one: ISO C++ forbids declaration of 'Testing' with no type
and depending on what I change I get some other errors.