-
Recent Posts
Recent Comments
- erotik on gcc build error: undefined _Unwind_Ptr
- john dresler on Install Stereo for 2007 Dodge Grand Caravan
- kitchen granite countertops on Populate and serialize text options (Java and C++)
- remodeling Reasons on Populate and serialize text options (Java and C++)
- Wes on Install Stereo for 2007 Dodge Grand Caravan
Archives
Categories
Meta
Monthly Archives: September 2015
?: beyond the ternary operator (PHP surprise)
Here is a famous ternary operator in C: condition ? A : B It can also be conveniently chained: condition1 ? A : condition2 ? B : condition3 ? C : D The evaluation of the conditions are in turns: condition1, condition2, … Continue reading
Posted in programming
Leave a comment