Library

I have tried to write libraries before with little success. I have read the tutorial. Doea anyone know if there is a libary "template", like a library's files with what it says to put where?

I have tried to write libraries before with little success. I have read the tutorial. Doea anyone know if there is a libary "template", like a library's files with what it says to put where?

A "library" consists of a header file (or more than one) and a source file (or more than one) with the same name, but different extensions.

There is nothing magic about what goes in each one. Class definitions go in the header file. Implementation code goes in the source file.

Creating a library is not a matter of luck.

If you showed (or at least described) what you were trying to do, and what problems you had, perhaps we could do more than wish you luck.

I've used this as a template to create libraries:

I suggest you post your current directory structure, and the relevant #include lines. I know the template you followed works as I successfully followed it myself a few weeks ago.

Regards, Guy