ok, have you predefined the class in each file? so as aove in CEntity you have put class CHealthBar, and can you post the Compiler Errros, might make it easier for other to diagnose.
also, iirc they have to be in the same directory level.
If your directory looks like
then the include in CENtity must be #include "GUI\CHealthBar"