Original Post
Hi
Im having problem with classes that isent defined. Im having classes that are using eachother. So therefore I need to define them in the top of the file.
What am I doing wrong?
class cTexture;//inheritance from cEngine
class cGraphic;//inheritance from cEngine
class cEngine;//BaseClass
struct sTexture;
class cEngine
{...};
class cTexture : public cEngine
{...};
class cGraphic: public cEngine
{...};
error C2079: ''Graphic'' uses undefined class ''cGraphic''
error C2079: ''Texture'' uses undefined class ''cTexture''
Leadorn- Sweden
E-Mail HomePage
Leadorn- Sweden
E-Mail HomePage