declarations in libraries

PaulS:

Uh ? Are you saying class definitions and variable declarations are the same thing ?

No, I never said that. I'm asking, if you don't like declaring variables in the header file, how you feel about defining classes in header files.

I'm sorry, that's nonsense. Declaration != definition. Classes are defined in header files. Variables should be declared in .cpp files.

You didn't comment on the EEPROM example.

PaulS:
I'm trying to determine whether to take you seriously.

I will ignore personal attacks.

(edit: typo)