欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: MAIN.C(12): error C231: 'TempData': redefinition [打印本頁]

作者: 獨白。。    時間: 2019-11-9 17:13
標題: MAIN.C(12): error C231: 'TempData': redefinition
compiling main.c...
MAIN.C(12): error C231: 'TempData': redefinition
MAIN.C(12): error C231: 'TempData': redefinition
MAIN.C(37): error C237: '_Display': function already has a body
MAIN.C(76): error C237: 'main': function already has a body
main.c - 4 Error(s), 0 Warning(s).




源程序
#define uchar unsigned char
#define uint unsigned int
#define DataPort P1
sbit LATCH1=P2^0;//定義鎖存使能端口 段鎖存
sbit LATCH2=P2^1;//
sbit PPP=P3^1;
sbit zzz=P0^7;
unsigned char code HEYAO_WeiMa[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char code TempData[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x00,0x40};
uchar Temp[8];
uchar timecount;
bit flag;
unsigned long x;//
void delay() ;
void  jing();
void Display(unsigned char FirstBit,unsigned char Num)


作者: 獨白。。    時間: 2019-11-9 17:13
這個錯誤怎么改啊,有哪里有問題啊
作者: csmyldl    時間: 2019-11-9 17:47
未給全程序,猜想在另一處已定義了void Display(unsigned char FirstBit,unsigned char Num)函數,而且這函數中包含了 TempData[]數組,因此這個函數尾要加分號
作者: 小黑屋525    時間: 2019-11-9 20:56
重復定義了,其他地方應該也定義了一個,你再好好找找!




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1