I'm getting a compile error complaining that it 'can't call a member function of 'a' without an object.'
Here's the code I believe it's related to...
In header file a.h
class a{
private:
stuff.....
public:
a * functionx(args....);
}
In source code a.cpp
I include header file
then try to call
a *const b = a::funtionx(args.....)
Any idea why the compiler is complaining about the call in a.cpp?
Any help is appreciated. Thanks.