I'm doing my project in visual studio 2015 community version.
I want to create two class.
class A {
B* b;
public:
//several method...
};
class B : public A {
public
//several method...
};
Is this possible?
I keep receive error code C2504. But I cannot translate this error message to English.
I'm sorry that I don't show this error message.
Two class are separated and each class .h file include others .h file For example, include "B.h" in A.h and vice versa.
I'm sorry I forgot adding semicolon.