格式如下:
IAR编译出错~,
const uchar pagetxt[][]=
{
{"1.直流电压检测","2.数字时钟显示","3.数字时钟显示","4.数字时钟显示"},
{"5.直流电压检55","6.数字时钟显66","7.数字时钟显77","8.数字时钟显88"},
{"9.直流电压检99","10数字时钟显10","11数字时钟显11","12数字时钟显12"},
{"13直流电压检13","14数字时钟显14","15数字时钟显15","16数字时钟显16"}
};
请高手点拨~~
此帖出自
小平头技术问答
应该叫定义一个数组
const uchar pagetxt[][]= { {"1.直流电压检测","2.数字时钟显示","3.数字时钟显示","4.数字时钟显示"},
{"5.直流电压检55","6.数字时钟显66","7.数字时钟显77","8.数字时钟显88"},
{"9.直流电压检99","10数字时钟显10","11数字时钟显11","12数字时钟显12"},
{"13直流电压检13","14数字时钟显14","15数字时钟显15","16数字时钟显16"} };
直接换成这样也可以啊,const uchar *pagetxt[15]={};
这样pagetxt[0]="1.直流电压检测";
一周热门 更多>