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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1a88c4d509f6381 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: scope and/or parameters (beginner) Date: 1999/04/15 Message-ID: <7f5afp$ug1$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 466789965 References: <37064309.889106243@news.dsuper.net> <37084459.8616007@rocketmail.com> <370b0c99.1137352783@news.dsuper.net> <7f2435$54d$1@nnrp1.dejanews.com> <37149AE9.883147B6@prolifics.com> <7f2ar3$b6l$1@nnrp1.dejanews.com> <3714EEC5.689CCFBB@prolifics.com> <7f2vdl$uf6$1@nnrp1.dejanews.com> <37151A6D.FAA4ACA2@prolifics.com> <7f4sh1$h8l$1@nnrp1.dejanews.com> <7f51r8$m5r$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Apr 15 18:17:38 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-04-15T00:00:00+00:00 List-Id: In article <7f51r8$m5r$1@nnrp1.dejanews.com>, Robert Dewar wrote: > In article <7f4sh1$h8l$1@nnrp1.dejanews.com>, > dennison@telepath.com wrote: > > > I guess the real lesson here is that there are an > > awful lot of obsolete K&R C compilers (and code) still > > floating around. > When it comes to const, this is of course an important > feature, but it does not BEGIN to have become standard > practice in C code, and indeed virtually all API's I > have worked with seem to prefer to use #define in the > traditional manner to using const. This is not a decision As I said, I deal with a lot of C API's myself, and it was just 3 months ago I came across my first one that used "const". So I guess now, 15 years after its inception and 10 years after its release, I'm finally going to have to get an ANSI C reference to be able to understand C code. At this rate I won't need a C++ reference until 2007. :-) -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own