˜Ë(bi¨¡o)î}: error C129: missing ';' before 'temp' Ôõô½â›Q£¡ êP(gu¨¡n)ÓÚÁ÷Ë®ŸôµÄ†–î} С°×Çó½Ì [´òÓ¡±¾í“]

×÷Õß: zzqdsgha    •rég: 2017-3-9 17:29
˜Ë(bi¨¡o)î}: error C129: missing ';' before 'temp' Ôõô½â›Q£¡ êP(gu¨¡n)ÓÚÁ÷Ë®ŸôµÄ†–î} С°×Çó½Ì
#include<reg52.h>
#include<intrins.h>
#define uint unsigned int
#define uchar unsigned char
unchar temp;
void delay(uint);
void main();
{
        
        temp=0xfe;
           P1=temp;
                while(1)
{
        temp=_crol_(temp,1);
    delay(600);
           P1=temp;        
}
}void delay(uint z)
{
        uint x;
        uchar y;
        for(x=z;x>0;x--)
                for(y=20;y>0;y--);        
}
³ö¬F(xi¨¤n)†–î}1_1.C(5): error C129: missing ';' before 'temp'  Ôõô½â›Q£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡


×÷Õß: zhaok2013    •rég: 2017-3-9 18:08
¸Ä³É
#define uint unsigned uint
#define uchar unsigned uchar
×÷Õß: zhaok2013    •rég: 2017-3-9 18:09
È»ºó
unchar temp;
¸Ä³É uchar temp;
×÷Õß: angmall    •rég: 2017-3-9 18:24
unchar temp;
¸Ä³É uchar temp;
×÷Õß: zzqdsgha    •rég: 2017-3-9 18:34
angmall °l(f¨¡)±íÓÚ 2017-3-9 18:24
unchar temp;
¸Ä³É uchar temp;

ÖxÖx´óÉñ½â›Q†–î}

×÷Õß: zzqdsgha    •rég: 2017-3-9 18:50
¸ÄÍêÖ®ºó߀ÊÇÓÐ1_1.C(5): error C129: missing ';' before 'temp'
×÷Õß: imxuheng    •rég: 2017-3-9 19:33
zzqdsgha °l(f¨¡)±íÓÚ 2017-3-9 18:50
¸ÄÍêÖ®ºó߀ÊÇÓÐ1_1.C(5): error C129: missing ';' before 'temp'

Ô‡Ô‡ß@‚€
#include<reg52.h>
#include<intrins.h>
#define uint unsigned int
#define uchar unsigned char
uchar temp;
void delay(uint);
void main()
{
        temp=0xfe;
        P1=temp;
        while(1)
        {
                temp=_crol_(temp,1);
            delay(600);
                P1=temp;        
        }
}

void delay(uint z)
{
        uint x;
        uchar y;
        for(x=z;x>0;x--)
                for(y=20;y>0;y--);        
}
×÷Õß: zzqdsgha    •rég: 2017-3-9 20:46
imxuheng °l(f¨¡)±íÓÚ 2017-3-9 19:33
Ô‡Ô‡ß@‚€
#include
#include

ß@ϽKÓÚŒ¦ÁË ÖxÖxÖxÖx





šgÓ­¹âÅR (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1