If I am using members of a class which a Static lib,Then I must add header file of that class in my .cpp.
But, If that class is using some other libs, then should I include those other libs(class) header in my cpp file.

ex= my program
==============
need a class which in X.lib.
I am using only X class object in
my cpp.So I should include X class header
in my file.
But if X class in X.lib is using another lib Y.lib internally,
then should I include Y class definition in my CPP?
(I know Y.lib must be included in my project, but should Y.h should be included?)