08.11.2010, 20:40
Код:
#define abs(%0) ((%0 < 0) ? (-(%0)) : (%0)) new variable = abs(-5);
Код:
warning 206: redundant test: constant expression is non-zero
P.S. please don't give me codes like this.
Код:
if(var < 0) return -var; else return var;