When writing inheritance in c++.Do i need to include the header files of all my sub classes into the base class.The reason i am asking is i have a base class a which has sub classes b,c,d, and e.I want to use sub classes b,c,d, and e as member variables in a separate class f and i included the header file for base class a in f but it doesn't work.