Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/05/09 23:09
Read: times


 
#165082 - why there is a problem with if staments
ex:
if(P0^0==0)
{
x=5;
}
if(P0^1==0)
{
x=2;
}
the debugger enter the first if statement which is right but it enters also the second statement which is wrong because P0^1!=0.

List of 4 messages in thread
TopicAuthorDate
why there is a problem with if staments            01/01/70 00:00      
   ^ is the 'C' exclusive-OR operator            01/01/70 00:00      
   thank you            01/01/70 00:00      
      you're welcome            01/01/70 00:00      

Back to Subject List