A
artun
Hello all,
I want to ask for advice in using static declarations:
I am working on an object oriented library. and a software project that
makes use of that library.
I use a static private method in a class of the library for some
purpose. This method uses some of the static data members of the same
class. I can compile the library without any compile or linking errors.
When I link the library in the software project, I receive a link error
that the static data member of the class is not resolved.
Can anyone help me what can be reason of the error?
Thanks all...
I want to ask for advice in using static declarations:
I am working on an object oriented library. and a software project that
makes use of that library.
I use a static private method in a class of the library for some
purpose. This method uses some of the static data members of the same
class. I can compile the library without any compile or linking errors.
When I link the library in the software project, I receive a link error
that the static data member of the class is not resolved.
Can anyone help me what can be reason of the error?
Thanks all...