登 录
int ystep;if(y0<y1){ystep = 1;}else{ystep = -1;}
上面的一大段编码等价于下面一行
int ystep = y0 < y1 ? 1 : -1;
抱歉!评论已关闭.