c++.dos.32-bits - enum by the size short
- ZaitcevE.V. (1/1) Nov 15 2001 How to make a type enum by the size of 2 bytes (short)?
- Jan Knepper (6/7) Nov 16 2001 It does that only in 16 bits mode.
How to make a type enum by the size of 2 bytes (short)?
Nov 15 2001
It does that only in 16 bits mode. If you need to store them somewhere, assign the enum to a 'short'.or 'unsigned short' Make sure the values are betwen 0 and 65535 though. Jan "ZaitcevE.V." wrote:How to make a type enum by the size of 2 bytes (short)?
Nov 16 2001