ATAboy <[EMAIL PROTECTED]> writes:
> typedef struct {
> struct SDTNode* child[MAXKEYNUM]; <---- this one
> void* data;
> } SDTNode; <-- and this one
This code is indeed not valid C++.
To make it valid (both for C and C++), change it so:
typedef struct SDTNode {
struct SDTNode* child[MAXKEYNUM];
void* data;
} SDTNode;
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus