- bool值
bool flag;
if(flag)
if(!flag)
2.int,short
int a;
if(0 == a)
if(0 != a)
3.float
float x;
const float EPSINON = 0.00001;
if((x >= -EPSINON) &&(x <= EPSINON))
4.char*
char* p;
if(nullptr == p)
if(nullptr != p)
bool flag;
if(flag)
if(!flag)
2.int,short
int a;
if(0 == a)
if(0 != a)
3.float
float x;
const float EPSINON = 0.00001;
if((x >= -EPSINON) &&(x <= EPSINON))
4.char*
char* p;
if(nullptr == p)
if(nullptr != p)
今天趙孟楷談了一次,感覺收益匪淺,這些東西肯定會在我以後的工作中起到非常重要的作用。 1、做一個職業人,做一個負責任的人。在工作和生活中都要做一個負責任的人,對自己所說的話,所做的事情都要負責任,把