Couldn't find a solution to this anywhere
here is my file layout
SDK.h
#pragma once
#include "Object.h"
#include "Panel.h"
Object.H
#pragma once
#include "SDK.h"
class BaseObject
{
etc...
}
Panel.h
#pragma once
#include "SDK.h"
class Panel : public BaseObject
{
etc...
}
and then the error
Panel.h(5): error C2504: 'BaseObject' : base class undefined
can somebody please tell me how to do it correctly? it's probably a very simple fix :(
EDIT: I looked and couldn't solve it, would I have to create a new file and include them in .CPP files?