On Sunday, 28 January 2007 at 18:56, Dennis Schridde wrote:
> increment is the sole thing done (eg. it doesn't read like for(i=0; i<1; i++, 
> sum+=i))?

Even in that line i++ and ++i are equivalent. Both increase i, but one
returns the original value of i, the other the increased value. So you
have to use the result for them to be different, in your example that'd
be sum += ++i/i++.

-- 
The San Diego Freeway.  Official Parking Lot of the 1984 Olympics!

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to