??? 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. |
Topic | Author | Date |
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 |