void main(void)
{
unsigned char a1;
unsigned int *caidan_a1; //菜单指针
unsigned char const *ptr = &zi2[0];
//volatile unsigned char *caidan_a1; //菜单指针
//caidan(); //菜单
unsigned char caidan_b1;
unsigned char caidan_b2;
//unsigned char caidan_b3;
chushihua(); //初始化
/**************************************************/
//*caidan_a1 =&zi2[0]; //取首地址
//a1 =*caidan_a1;
//*caidan_a1 =zi2;
//a1 =*caidan_a1;
//a1 =&zi2[0];
//caidan_b2 =*caidan_a1; //第0个(元素数量)
a1 =*(ptr+1);
caidan_b1 =zi2[1];
xianshi_a1 =zi1[a1];
caidan_b1 =zi2[2];
xianshi_a2 =zi1[caidan_b1];
caidan_b1 =zi2[3];
xianshi_a3 =zi1[caidan_b1];
caidan_b1 =zi2[4];
xianshi_a4 =zi1[caidan_b1];
xianshi(); //显示
yanshi(100); //延时
|