C-ben a ! mi is pontosan?

Uir Man uir at dpg.hu
Tue Oct 12 20:48:24 CEST 2004


VFX  <info at vfx.hu> 2004.10.12. 20:27:37 +2h-kor írta:

> Hali!
> 
> Mit is csinal pontosan ez a sor (C forras ha igaz):
> if ((phy_id1 != 0x8000) && (phy_id2 != 0x8000)) then
Ha 
phy_id1 NEM EGYENLO 0x800-al
ES
phu_id2 NEM EGYENLO 0x800-al
AKKOR fog {} ez tortenni  



! jel negalja az eredmenyt. Ha pl hamis volt akkor igaz lesz, illetve forditva.
=! ez a nem egyenlo kifejezes
== ez pedig az egyenlo kifejezes
&& ez pedig az ES kifejezes ha minden igaz bytokra vonatkozik
-- 
UIR



More information about the Elektro mailing list