Author: David Rasmussen
Date: 16:51:43 01/18/02
Are there any compilers that can be asked to compile bounds checks on array accesses into the code, possibly in some sort of debug mode? I remember in my old Pascal days, that Turbo Pascal did a runtime error if you accessed an array out of bounds. Of course this was slow, so you could turn it off in release builds (I think). I don't understand why all good compilers doesn't have a "failsafe" mode where all sorts of checks are compiled into the code. /David
This page took 0.01 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.