typedef struct _GB16 // 汉字字模数据结构
{
uchar Index[2]; // 汉字内码索引
uchar Msk[32]; // 点阵码数据
}GB16_Typedef;
const GB16_Typedef GB_16x16[] = // 数据表
{
"差",0x00,0x04,0x24,0x24,0x25,0x26,0xA4,0x7C,0x24,0x26,0x25,0x34,0x26,0x84,0x00,0x00,
0x41,0x21,0x11,0x89,0x85,0x8B,0x89,0x89,0xF9,0x89,0x8D,0x89,0xC1,0x81,0x01,0x00,
}
用XC8编译时提示
warning: (228) illegal character (0xB2)
warning: (340) string not terminated by null character
第二条警告,将 uchar Index[2]; 改为 uchar Index[3]; 就会消失,怎么消除第一条警告 |