From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: jordan@Starbase.NeoSoft.COM (Jordan Henderson) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/08/25 Message-ID: <6rv5pa$p2i$1@Starbase.NeoSoft.COM>#1/1 X-Deja-AN: 384667138 References: <0095000017115526000002L062*@MHS> <35E08F7E.F0CC86A9@gce.com> <35E17279.236FC9E2@ubs.com> <6rukse$3q0$1@usenet01.srv.cis.pitt.edu> Organization: NeoSoft, Inc. +1 713 968 5800 Newsgroups: comp.os.vms,comp.sys.dec If this is not a feature of C, then why does the ANSI C Standard Library contain so many routines that use this non-existent null-terminated string data type. Now, I agree that the C language doesn't have any support for this data type outside of it's standard library, but the standard library IS part of the language. In article <6rukse$3q0$1@usenet01.srv.cis.pitt.edu>, Gregg E Economou wrote: >thats not a feature of C. There is really only one data type in c: >memory. integers, pointers, floats, etc, theyre all just memory in C. >(thats the beauty of it). > Now, common proctice is that when you ant to store a string-like thing, >you terminate it with a null. but ther ei sno data type in C 'string' >which dictates a null terminated sequence of bytes. You can do _whatever_ you >want in C, which is why it is so nice, as opposed to languages where you _do_ >have a 'string' type perhaps, and have to live with the accompanying rstricitons >. > >as the famous quote goes, >C provides all the power of assembly with all the flexibility of assembly >*grin* > > happy hacking, >gregg > >In article <35E17279.236FC9E2@ubs.com>, Paul Sture wrote: >> >> >>Glenn C. Everhart wrote: >> >>> snip >> >>> ... needs to acquire a notion of string size other than location of a >>> null.... >> >>> snip >> >>The very first thing that put me off C!!! >> >>-- >>Paul Sture >>Z�rich >> >>paul dot sture at ubs dot com >> >> > > -Jordan Henderson jordan@neosoft.com