//bool
if(!a)
if(a)

//int
if(a == 0)

//float
const EXP = 0.000001;
if(a < EXP && a > -EXP)

//pointer
if(a != NULL)
if(a == NULL)

 

相关文章:

  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-06-05
  • 2022-01-17
  • 2022-01-06
猜你喜欢
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案