Hello,
is it somehow possible to have struct prototypes?
I would like to declare circular types.
However, the following code does not work:
Code:
struct PARENT; // this is intended to be a struct prototype
typedef struct CHILD {
PARENT* parent;
} CHILD;
typedef struct PARENT {
CHILD* child;
} PARENT;
I receive the following compiler error message:
Quote:
PARENT (struct) undeclared identifier
struct PARENT;
Thanks