TEXT1.C(2): error C129: missing ';' before 'main'不知道错在哪!
#include<AT89X51.H>viodmain(viod){constunsignedchardesin[32]={0xFF,0xFE,0xFD,0xFB,0xF...
#include<AT89X51.H>
viod main(viod)
{
const unsigned char desin[32]={0xFF,0xFE,0xFD,0xFB,0xF7,0xEF,0xDF,0xBF,0x7F,0x7F,0xBF,0xDF,0xEF,0xF7,0xFB,0xFD,0xFE,0xFF,0xFF,0xFE,0xFC,0xF8,0xF0,0xE0,0xC0,0x80,0x0,0xE7,0xDB,0xBD,0x7E,0xFF};
unsigned int a;
unsigned char b;
do {
for (b=0;b<32;b++)
{
for (a=0;a<30000;a++);
P1=desin[b];
}
}
while(1);
}
这是我写的程序 展开
viod main(viod)
{
const unsigned char desin[32]={0xFF,0xFE,0xFD,0xFB,0xF7,0xEF,0xDF,0xBF,0x7F,0x7F,0xBF,0xDF,0xEF,0xF7,0xFB,0xFD,0xFE,0xFF,0xFF,0xFE,0xFC,0xF8,0xF0,0xE0,0xC0,0x80,0x0,0xE7,0xDB,0xBD,0x7E,0xFF};
unsigned int a;
unsigned char b;
do {
for (b=0;b<32;b++)
{
for (a=0;a<30000;a++);
P1=desin[b];
}
}
while(1);
}
这是我写的程序 展开
2个回答
展开全部
这个是因为你定义了类或者结构体,但是没有在定义结束的大括号后面加分号。
追问
不是很明白 能改下看看么
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询