Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAndy474

Posted 01 March 2013 - 09:38 AM

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.

 

E.g.

If your directory looks like

-Classes

   - CEntity.h

   - GUI.

      - CHealthBar

 

then the include in CENtity must be #include "GUI\CHealthBar"


#1Andy474

Posted 01 March 2013 - 09:31 AM

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.


PARTNERS