Author: David Dory
Date: 11:35:07 01/24/04
When you have three integer variables, all local, and r == 6 and code of: rt = r; tr = r; You might think that tr == r, and rt = r, and both would equal 6. But wait, this is Microsoft Visual C++ 6.0, so it sets the values at: tr == 7 (yeah, seven!) rt == 6 Now ain't that some shit?? And if you think --tr or tr-- will work right, you're dreaming! Anybody know why? (Till then, I'm not naming any int's "tr" !) Good luck to all in the tournament! Dave
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.