是implementation-defined的呢
Each enumerated type shall be compatible with char, a signed integer type, or an
unsigned integer type. The choice of type is implementation-defined,10 but shall be
capable of representing the values of all the members of the enumeration. The
enumerated type is incomplete until after the } that terminates the list of enumerator
declarations.
10 An implementation may delay the choice of which integer type until all enumeration constants have
been seen.作者: wb112200 时间: 2011-03-22 15:48
可以用十六进制数 0xf... 一个f 代表4位作者: egmkang 时间: 2011-03-22 16:04
回复 wawxdyy
是implementation-defined的呢
Each enumerated type shall be compatible with char, ...
madoldman 发表于 2011-03-22 15:46