Try:

typedef struct QuestionStruct
{
    Char *text;
    struct QuestionStruct *answeryes;
    struct QuestionStruct *answerno;
} QuestionType;




On Wed,  9 Mar 2005 04:28:06 -0000, Marc <[EMAIL PROTECTED]> wrote:
> struct QuestionStruct;
> typedef struct QuestionStruct
> {
>     Char* text;
>     QuestionStruct* answeryes;
>     QuestionStruct* answerno;
> }QuestionStruct;
> 
> when do the struct, it shows the following error:
> --parse error before `QuestionStruct'
> --warning: no semicolon at end of struct or union
> --warning: data definition has no type or storage class
> whats wrong??
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please 
> see http://www.palmos.com/dev/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to