初级会员

- 积分
- 61
- 金钱
- 61
- 注册时间
- 2016-1-16
- 在线时间
- 20 小时
|

楼主 |
发表于 2016-2-12 01:05:06
|
显示全部楼层
重发一遍,这是断句用的
[mw_shl_code=c,true]void G_commond(void)
{
u8 i;
// u8 pop;
if(def==0)
{
for(i=j;i<50;i++)
{
cbuf[h]=databuf1; //×°ÔØDD
h++;j++;
if((char)databuf1=='\n')
{
cf=1;//h=0;//i++;//j++; //ÖÃλ±êê¶Î»£¬ÃüáîDDòѾ-ìî3äíê±Ï
//cbuf[h]=databuf1;
break;
}
}
if(j>=49)
{
j=0;df=1;def=1; //cbuf±ê־λ databuf±ê־λ Çå¿Õi,h
}
}else
{
for(i=j;i<50;i++)
{
cbuf[h]=databuf2; //×°ÔØDD
h++;j++;
if((char)databuf2=='\n')
{
cf=1;//h=0;//i++;//j++; //ÖÃλ±êê¶Î»£¬ÃüáîDDòѾ-ìî3äíê±Ï
//cbuf[h]=databuf1;
break;
}
}
if(j>=49)
{
j=0;df=1;def=0; //cbuf±ê־λ databuf±ê־λ Çå¿Õi,h
}
}
}
[/mw_shl_code] |
|