From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1014db,6bdc5c27a0dec527 X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: peter@baileynm.com (Peter da Silva) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/09/08 Message-ID: <6t3cjs$eta@web.nmti.com>#1/1 X-Deja-AN: 389032562 References: <0095000017115526000002L062*@MHS> <6t24vj$kep$1@Starbase.NeoSoft.COM> <6t2c1i$7on@web.nmti.com> <6t2im5$mke@espresso.cafe.net> Organization: Bailey Network Management Newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c In article <6t2im5$mke@espresso.cafe.net>, Kaz Kylheku wrote: >In article <6t2c1i$7on@web.nmti.com>, >Peter da Silva wrote: >>In article <6t24vj$kep$1@Starbase.NeoSoft.COM>, >>Jordan Henderson wrote: >>>If nul-terminated string *constants* are a "feature" of the language, then >>>so are nul-terminated strings. Denying this is like saying that >>>ints aren't a part of the language, just int constants. After all, what >>>you _do_ with an int variable is outside of the definition of the language. >>The language defines operations on ints. It defines operations on pointers >>to characters. It doesn't define any operations on strings. >It does: . This library defines operations on string objects, which >are represented by a pointer to their first character. That is not the same >thing as defining operations on pointers to char. That's part of the library. A non-hosted implementation doesn't have to provide it, and in fact can have a completely different file called "string.h" and have completely different semantics for anything defined therein. >Would you also claim that C has no operations on streams, merely operations on >FILE * pointers? No, I'd claim it has neither. -- In hoc signo hack, Peter da Silva `-_-' "If Microsoft don't think you need it, it's not there and there's no 'U` way to include it yourself." -- Geoff Lane, a.s.r.