Author: KarinsDad
Date: 09:29:36 08/23/99
Go up one level in this thread
On August 22, 1999 at 19:58:52, Bruce Moreland wrote: >You got an answer elsewhere about a bounds checker for gcc, but there are a >couple of other things you can do: > >1) Put asserts in in logical places. > >2) Add a dummy element after the last element of crucial arrays, and set every >field in the element to bogus values, and occasionally assert that the element >is still that way. This will help you know if something has dribbled off the >end of the array. > >bruce Good suggestions Bruce. Have to remember these (especially the second one, I'm already doing the first). KarinsDad :)
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.