if(++Time_Count = 50) return;中的return怎么理解?

if(++Time_Count = 50) return;中的return怎么理解?

题目
if(++Time_Count = 50) return;中的return怎么理解?
//
#include
#define uint unsigned int
#define uchar unsigned char
sbit RED_A = P0^0;
sbit YELLOW_A = P0^1;
sbit GREEN_A = P0^2;
sbit RED_B = P0^3;
sbit YELLOW_B = P0^4;
sbit GREEN_B = P0^5;
uchar Time_Count = 0,Flash_Count = 0,Operation_Type = 1;
void T0_INT() interrupt 1
{
x05TMOD = 0x01;
x05IE = 0x82;
x05TR0 = 1;
x05TH0 = (60000-50000)/256;
x05TL0 = (60000-50000)%256;
x05
x05switch(Operation_Type)
x05{
x05 x05case 1:
x05x05x05RED_A=0;YELLOW_A=0;GREEN_A=1;
x05x05x05RED_B=1;YELLOW_B=0;GREEN_B=0;
x05x05x05if(++Time_Count = 50) return;
x05x05x05Time_Count=0;
x05x05x05Operation_Type = 2;
x05x05x05break;
x05x05case 2:
x05x05x05if(++Time_Count = 8) return;
x05x05x05Time_Count=0;
x05x05x05YELLOW_A=!YELLOW_A;
x05x05x05GREEN_A=0;
x05x05x05if(++Flash_Count = 10) return;//黄灯闪烁5次
x05x05x05Flash_Count=0;
x05x05x
答案
if(++Time_Count != 50) return;
ruturn指的是返回以下这个循环体:
void T0_INT() interrupt 1
{
x05TMOD = 0x01;
x05IE = 0x82;
x05TR0 = 1;
x05TH0 = (60000-50000)/256;
x05TL0 = (60000-50000)%256;
x05
x05switch(Operation_Type)
x05{
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
热门考点

超级试练试题库

© 2017-2019 超级试练试题库,All Rights Reserved.