[A89] Re: TI-GCC enum question
[Prev][Next][Index][Thread]
[A89] Re: TI-GCC enum question
The exact same thing is true for a struct:
struct point {int x; int y;};
struct point center;
or use a typedef
jeff
> > You have to use 'enum' to define a variable with an enum type:
> > enum Bool ToF=0;
>
> Yes, in _all_ C dialects.
>
> > instead of standard C:
> > Bool ToF=0;
>
> This is from C++. Again, TI-GCC is _standard_ C with a lot of extension
> but it supports everything from _standard_ C!!!
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
References: