On Wed, 17 May 2006 16:55:50 +1200 (NZST) Derek Smithies <[EMAIL PROTECTED]> wrote:
> Hi, > Ok, threshold of pain reached, my turn. > > > On Wed, 17 May 2006, Wesley Parish wrote: > > Quoting Wesley Parish <[EMAIL PROTECTED]>: > > > Quoting Steve Holdoway <[EMAIL PROTECTED]>: > > > > Rex Johnston <[EMAIL PROTECTED]> wrote: > > > > > Dale DuRose wrote: > > > constructs such as > b[i] = i++; > > are indeed valid, and the compiler will make a reasonable go at compiling > it. However, the meaning is not immediately clear. > It is better to write it as > b[i] = i; > i++; I disagree with this one. The i++ very specifically means increment after use, as opposed to ++i, which is to pre-increment. Steve
