www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/12/05:05:35

Message-ID: <3738912D.F5@ns.sympatico.ca>
From: Klaas <klaas AT ns DOT sympatico DOT ca>
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ? array[n] or array[n+1] ?
References: <37367f71 DOT 6271443 AT news DOT wanadoo DOT fr> <3736A098 DOT 55E268BE AT softhome DOT net> <373c0195 DOT 3902906 AT news DOT wanadoo DOT fr> <3737f542 DOT 0 AT nnrp1 DOT news DOT uk DOT psi DOT net> <7h946u$qhe$1 AT nnrp1 DOT deja DOT com> <37383391 DOT 0 AT nnrp1 DOT news DOT uk DOT psi DOT net>
Lines: 11
Date: Tue, 11 May 1999 17:21:01 -0300
NNTP-Posting-Host: 142.177.61.49
X-Trace: sapphire.mtt.net 926454372 142.177.61.49 (Tue, 11 May 1999 17:26:12 ADT)
NNTP-Posting-Date: Tue, 11 May 1999 17:26:12 ADT
Organization: Sympatico-Subscriber
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Bounds checking is possible... but it sacrifices speed.

-Mike

> Greetings,
>     Thanks for the information. On second thoughts, I realise that it was
> probably silly of me to expect the compiler to detect that kind of bug
> because it's probably only at run time that accessing an element beyond the
> array length will actually be detected, right?
> Regards,
> Ya'qub

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019