29.06.2018, 15:26
Can i use 0 insteady of false in a boolean?
Is it adviced to call if(ploggined == false).
Because i use it like this if(ploggined == 0). |
if(!ploggined) //is like ploggined == false and for int like ploggined == 0
if(ploggined) //is like ploggined != false and for int like ploggined != 0