CSHARP Code:
public enum BtnFunc : byte { BFN_CLEAR = 0x1, BFN_DEL_BTN = 0x0, BFN_REQUEST = 0x3, BFN_USER_CLEAR = 0x2 }
How would that be done in c++?
Printable View
CSHARP Code:
public enum BtnFunc : byte { BFN_CLEAR = 0x1, BFN_DEL_BTN = 0x0, BFN_REQUEST = 0x3, BFN_USER_CLEAR = 0x2 }
How would that be done in c++?
Nearly identical:
However, the ": int" part is Microsoft-specific I think, so drop it if you're not using VC++.Code:enum BtnFunc : int
{
BFN_CLEAR = 0x1,
BFN_DEL_BTN = 0x0,
BFN_REQUEST = 0x3,
BFN_USER_CLEAR = 0x2
};