【发布时间】:2016-12-09 18:13:05
【问题描述】:
这是代码:
/* the playing board is an array of these records */
typedef struct tagBOARD {
char val; /* the character on top face of die */
char orient; /* its orientation (0, 90, 180, 270 degree rotation) */
BOOL Cused; /* true if die was used in trying to make a word */
/* used only by computer in trying to find words */
BOOL Uused; /* true if player used letter by pushing button in */
HWND hWindow; /* handle of control corresponding to this die */
char r, c; /* row and column of this die */
struct tagBOARD *link[8]; /* links to neighboring dice, some may be NULL */
} BOARD;
但我总是收到此错误:
[Error] 'BOOL' does not name a type
[Error] 'BOOL' does not name a type
[Error] 'HWND' does not name a type
我应该怎么做才能解决这个问题?
【问题讨论】:
-
包括适当的文件
标签: boolean