typedef struct _node node;
typedef struct _node
{
int is_leaf;
node child[THRESHOLD_ITEM_SET];
list<item_set> candidate_set;
} node;
or this:
typedef struct _node
{
int is_leaf;
struct _node child[THRESHOLD_ITEM_SET];
list<item_set> candidate_set;
} node;
I am getting error:
error: field ‘child’ has incomplete type
I don't want to declare child as pointer. Is this possible to keep it as array instead of pointer?