int型变量: if(0==var)
float型变量:
const float epsinon = 0.00001;
if ((x >= - epsinon) && (x <= epsinon)
指针变量:if(var==null)
匿名回答于2019-06-03 06:07:33