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
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to