c51程序出现'<':bad operand type
c51程序出现'<':bad operand type
日期:2017-12-16 17:06:18 人气:1
#includesbit s=P1^0; //注意这里,s是为变量,只能是1和0sbit F=P0^1;void main(){while(1){if (s<127) //注意这里,s按字节型变量来处理了(char型)F=1;else F=0;} }
c51程序出现'<':bad operand type