with this code i get error
NetworkingClass.cpp:4: error: 'NetworkingClass' has not been declared
NetworkingClass.cpp:4: error: ISO C++ forbids declaration of 'NetworkingClass' with no type
The problem is that as You can see in code class is correct and the constructor is also correct?
what could be the couse of the problem?
I am developing on mac
just for test I did just ";" what is just one Microprocessor empty operation.
It does nothing just making sure that gcc will compil correctly empty function;
NetworkingClass::NetworkingClass()
{
;
}
this is code for constructor of NetworkingClass class. So it's non type funtion and non returning....
means "include the file foo.h from the current directory or user include path" I think.
#include <foo.h>
means "include the file foo.h from the system (library) include path"
A user program should use <> for libraries and "" for local .h files, for instance.
The cpp should use "" to avoid picking up any other foo.h that might be in the system
since the correct foo.h must be the one in the same directory as foo.cpp.
Various compilers are setup in various ways, not always in agreement with this distinction, and
may search both paths (but in different sequence) for the two directives.
The Arduino system does some monkeying around that may or may not confound the issue.