Follow Us
Contribute
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.

Categories

0 votes
In XXX.h file declared as below.

Class XXX{

int classAPI();

} ;

In XXX.cpp file define as below.

int XXX::classAPI()

{

}

Compiled XXX.cpp file in Visual studio 2008.

Got error saying classAPI() is not a member of Class XXX.

Please let me know if any solution for this error.

Observation is class XXX contains other API as well and definetions in XXX.cpp file for which error is not observed.
requested by

Please log in or register to to add a solution for this error.

...