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: geest3+@pitt.edu (Gregg E Economou) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/08/25 Message-ID: <6rukse$3q0$1@usenet01.srv.cis.pitt.edu>#1/1 X-Deja-AN: 384578203 References: <0095000017115526000002L062*@MHS> <35E0860E.3102@world.std.com> <35E08F7E.F0CC86A9@gce.com> <35E17279.236FC9E2@ubs.com> Organization: University of Pittsburgh Newsgroups: comp.os.vms,comp.sys.dec 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 > >