G
Guest
I am confused why I must cast an enum to a type int if I defined the enum as follows:
enum COLUMNS :int
{
IP=0,
MSG =1
}
IMHO the compiler should be able to make the conversion without requiring a cast. I am curious why the cast is required.
Bill
enum COLUMNS :int
{
IP=0,
MSG =1
}
IMHO the compiler should be able to make the conversion without requiring a cast. I am curious why the cast is required.
Bill