Class A
{
}
Class B
{
B(A* App);
}
Here Class A is main class which handles creation of Object B as per requirements. When Object of Class B is created objected of A is passed as argument. It all work fine if everything is defined in A.h and A.cpp but After moving code related to Class B in B.h and B.cpp I'm getting error as syntax error : identifier 'A'