Original Post
I'm having a problem with including headers:
So, basically each header needs the other and that seems to be giving me problems. If Npc.h includes mission.h, mission.h doesn't know what the class Npc is.
A CRPG in development... Need help? Well, go FAQ yourself. [edited by - Nazrix on December 23, 2002 4:39:40 PM]
// Npc.h
#include "mission.h"
class Npc : public Person
{
Mission *currMission;
// Mission.h
#include "npc.h"
class Mission
{
public:
Npc *told, //npc that told the npc to do the mission
*involved; //npc doing the mission
A CRPG in development... Need help? Well, go FAQ yourself. [edited by - Nazrix on December 23, 2002 4:39:40 PM]