Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Numerical Recipes is non-portable code Message-ID: <8417@smoke.ARPA> Date: 2 Sep 88 07:53:38 GMT References: <557@accelerator.eng.ohio-state.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <557@accelerator.eng.ohio-state.edu> rob@kaa.eng.ohio-state.edu (Rob Carriere) writes: >Peace now? Sure; why not? >Several people have suggested that for these cases one either carries >the address arithmatic through the code, or accesses the arrays >through a function that does the arithmatic for you. Or you can allocate an extra element and go ahead and use 1-based indexing. Nobody is forcing you to use the [0] element of an array. It is seldom that the small amount of wasted space would matter.