i hav classA hence A.h and A.cpp,i hav declared some member variables in A.h and defined/initialized them using object of class A in A.cpp.now i hav class B hence B.h and B.cpp ,now i want to use class A's same object and its member variables (which i hav already initialized) in B.cpp.how do i do it?
Note:for some reasons i hav #included B.h in A.h hence #include A.h in B.h is giving error