[ale] OT: Win32 Programming
Christopher Fowler
cfowler at outpostsentinel.com
Thu Sep 18 12:23:04 EDT 2003
On Thu, Sep 18, 2003 at 12:18:30PM -0400, Pete Hardie wrote:
> Christopher Fowler wrote:
> >On Thu, Sep 18, 2003 at 11:34:33AM -0400, Geoffrey wrote:
> >
> >>'SalesAverage' makes a lot more sense to me then 'ImAFloatDude.'
> >>'SalesAverage' pretty much tells me it's a numeric value and it's likely
> >>going to have a decimal value. Just as 'NumberOfFrogs' is likely to be
> >>an integer, whereas 'TypeOfFrog' is not.
> >>
> >
> >
> >What?
> >
> >/* Types of Frogs */
> >
> >#define FROG_GREEN 0x01
> >#define FROG_RED 0x02
> >#define FROG_BULL 0x03
> >
> >
> >Seems like an in to me. ;)
>
> typedef enum {
> GreenFrogType = 1,
> RedFrogType,
> BullFrogType
> } FrogType;
>
> Looks like an enum from over here......
char *FROG_GREEN = "Green Frog";
char *FROG_RED = "Red Frog";
char *"FROG_BULL = "Big Fat Frog";
char *TypeOfFrog = FROG_RED:
Cold be a char too.
More information about the Ale
mailing list