Say I have the following headers:
//BOB.H
#ifndef BOB_H
#define BOB_H
#include "Doug.h"
class CBob{
public:
CDoug Doug;
};
#endif
//DOUG.H
#ifndef DOUG_H
#define DOUG_H
#include "Bob.h"
class CDoug{
public:
CBob Bob;
};
#endif
How can one make this work? My problem is that my Tank class utilizes my CParticleList class, and the CParticleList class has to have a member CTank *Tanks to effect damage on the tanks from particle hits.
Can I have it set up like I want, or do I have to structure something differently?
-=skjin=-