Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sydde

macrumors 68030
Original poster
Aug 17, 2009
2,577
7,070
IOKWARDI
I tend to have a fair number of conditionals (mostly if's) that have a lot of &&/|| structures. Is the "in" operator used to replace something like "if ( ( 3 == a )||( ( 5 < a )&&( 8 > a ) ) )", and if so, what is the syntax? I cannot seem to find "in" explained anywhere. I have only learned enough C to write working code, there are a few subtleties I am sure I have missed.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.