Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


#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