Tough stupid array question

Dave P. Schaumann dave at cs.arizona.edu
Sat Mar 2 07:31:45 AEST 1991


In article <91059.215903DOCTORJ at SLACVM.SLAC.STANFORD.EDU> DOCTORJ at SLACVM.SLAC.STANFORD.EDU (Jon J Thaler) writes:
>Regarding bounds checking...
>
>[method deleted]

	Bounds checking in arrays can be done quite easily in C++, by
	overloading  the [] operator... (Just a thought.  If you *really*
	need to do index checking, you might consider switching.)

-- 
		Dave Schaumann		dave at cs.arizona.edu
'Dog Gang'!  Where do they get off calling us the 'Dog Gang'?  I'm beginning to
think the party's over.  I'm beginning to think maybe we don't need a dog.  Or
maybe we need a *new* dog.  Or maybe we need a *cat*! - Amazing Stories



More information about the Comp.lang.c mailing list