Article View: comp.sources.bugs
Article #805Re: Problems with Centipede
From: guy
Date: Tue, 07 Jul 1987 04:24
Date: Tue, 07 Jul 1987 04:24
10 lines
1025 bytes
1025 bytes
> Sorry about that premature message - change that first *ch to ch[1].
> You may also want to change the second *ch to ch[1]...
No, you won't. If "ch" is a one-element array, "ch[1]" is an
expression whose meaning is not defined. You may want to change the
second "*ch" to "ch[0]", but that would only be for aesthetic
reasons; "*ch" and "ch[0]" mean exactly the same thing in this case.
Guy Harris
{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
guy@sun.com
Technical Details
Message-ID:
<22767@sun.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!oliveb!sun!gorodish!guyReferences:
<1031@bucsb.bu.edu.UUCP> <758@soliloquy.rutgers.edu> <763@soliloquy.rutgers.edu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.sources.bugs Subject: Re: Problems with Centipede Message-ID: <22767@sun.uucp> Date: Tue, 7-Jul-87 00:24:27 EDT Article-I.D.: sun.22767 Posted: Tue Jul 7 00:24:27 1987 Date-Received: Thu, 9-Jul-87 04:27:32 EDT References: <1031@bucsb.bu.edu.UUCP> <758@soliloquy.rutgers.edu> <763@soliloquy.rutgers.edu> Sender: news@sun.uucp Lines: 10 Keywords: centipede