????1????????
????BOOL?int??
????bool???????
????2????????
????bool?????????
????BOOL???????????????????????????4?????
????3???????
????bool??false??true????0??1??????
????BOOL??FALSE??TRUE????0???0??????
????????bool????C++?????????????true??false?????????????????????bool?????????????????????bit????????????????
????BOOL??????????typedef int BOOL????bool????????????????????TRUE/FALSE/ERROR????????>0???????TRUE??0?FALSE??-1?ERROR??
????Win32 API?к??????BOOL?????????????????????GetMessage().
??????????BOOL??Сbool????????
????1????????
????BOOL?int??
????bool???????
????2????????
????bool?????????
????BOOL???????????????????????????4?????
????3???????
????bool??false??true????0??1??????
????BOOL??FALSE??TRUE????0???0??????
????4??????
????bool x=3; //?澯
????bool x=1; //???
????BOOL x=3; //???
????BOOL x=3.3; //?澯
???????windows??????????????????????
typedef unsigned long       DWORD;
typedef int                 BOOL;
typedef unsigned char       BYTE;
typedef unsigned short      WORD;
typedef float               FLOAT;
typedef FLOAT               *PFLOAT;
typedef BOOL near           *PBOOL;
typedef BOOL far            *LPBOOL;
typedef BYTE near           *PBYTE;
typedef BYTE far            *LPBYTE;
typedef int near            *PINT;
typedef int far             *LPINT; //   maximum   heap   size
);