Missing ; at end of typedef.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
typedef struct node {
char value;
bool isroot;
bool isend;
struct node* sibling;
struct node* child;
};
He meant there.
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218
>What exactly does this mean?
typedef struct node {
char value;
bool isroot;
bool isend;
struct node* sibling;
struct node* child;
} <strong>aliasname</strong>;
Where aliasname is any identifier you want to substitute struct node for.
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218