From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e95e8407f65e1cfb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 15:36:33 PST From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Look what I caught! was re:Ada paper critic Date: Wed, 19 Jun 2002 00:36:22 +0200 Organization: JeLlyFish software References: <3d0e5750_2@news.bluewin.ch> <3D0E6D8B.C2EF98D3@san.rr.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.202.192.252 Message-ID: <3d0fb5ea_3@news.bluewin.ch> X-Trace: news.bluewin.ch 1024439786 62.202.192.252 (19 Jun 2002 00:36:26 +0200) X-Complaints-To: abuse@bluewin.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.tesion.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:26316 Date: 2002-06-19T00:36:22+02:00 List-Id: Darren New wrote: >Vinzent Hoefler wrote: >> No. Its not a long time ago (was it in c.l.a.?) I read that C arrays >> are one element more on the right and left side because this becomes >> handy in using some algorithms that intentionally might get out of >> bounds. > >You're probably thinking of what I said, which was that a pointer into an >array is allowed to be increased to point off the end of the array by one >element, but you can't access it. Ok. Thanks for clarifying that. I was quite confused, because hell a lot of C code (including the little pieces I already did) wouldn't have worked at all then. Vinzent.