Author: Dan Honeycutt
Date: 15:29:02 01/17/06
Go up one level in this thread
On January 17, 2006 at 18:08:59, Dann Corbit wrote: ... >4 Unlike the bitwise binary & operator, the && operator guarantees left-to-right >evaluation; there is a sequence point after the evaluation of the first operand. >If the first operand compares equal to 0, the second operand is not evaluated. Thanks, Dann. I count on that with statements like if (a && disaster_if_a_is_false) Best Dan H.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.