Writing Libraries

A library is nothing more than a header file that defines a class and a source file that implements the class. There is nothing particularly advanced about that. I'm having a hard time envisioning what your problems might be.