From: jordan@Starbase.NeoSoft.COM (Jordan Henderson)
Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA *
Date: 1998/08/25 [thread overview]
Message-ID: <6rv5pa$p2i$1@Starbase.NeoSoft.COM> (raw)
In-Reply-To: 6rukse$3q0$1@usenet01.srv.cis.pitt.edu
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]
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 <geest3+@pitt.edu> 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 <paul.sture@ubs.com> 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
next prev parent reply other threads:[~1998-08-25 4:00 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0095000017115526000002L062*@MHS>
[not found] ` <35E04DF1.1911@world.std.com>
[not found] ` <35E09E76.6773@earthlink.net>
1998-08-23 4:00 ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Terry C. Shannon
1998-08-23 4:00 ` Glenn C. Everhart
1998-08-24 4:00 ` Paul Sture
1998-08-25 4:00 ` Gregg E Economou
1998-08-25 4:00 ` John Wilson
1998-08-26 4:00 ` Gregg E Economou
1998-08-27 4:00 ` John Wilson
1998-08-25 4:00 ` Jordan Henderson [this message]
1998-08-26 4:00 ` Bob Koehler
[not found] ` <6s910k$2bo$1@Starbase.NeoSoft.COM>
1998-08-29 4:00 ` Gregg E Economou
1998-08-30 4:00 ` Jay Maynard
[not found] ` <35e833be.0@news.wizvax.net>
1998-08-29 4:00 ` Jordan Henderson
1998-08-30 4:00 ` Gregg E Economou
1998-08-30 4:00 ` K&R fight over ketchup (was: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA ) Clint Comes
1998-08-31 4:00 ` Bob Koehler
1998-09-05 4:00 ` Gregg E Economou
1998-08-30 4:00 ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * John Wilson
1998-08-30 4:00 ` Lawrence Kirby
1998-08-30 4:00 ` JF Mezei
1998-08-30 4:00 ` Martin Ambuhl
1998-08-31 4:00 ` Michael Rubenstein
[not found] ` <6scur7$qtk@bgtnsc02.wo <35EA0E22.C59E9476@videotron.ca>
1998-08-31 4:00 ` Will Rose
1998-08-31 4:00 ` Craig Franck
1998-08-30 4:00 ` JF Mezei
1998-08-31 4:00 ` firewind
1998-08-30 4:00 ` JF Mezei
1998-08-30 4:00 ` Chris Torek
1998-08-31 4:00 ` Gregg E Economou
1998-08-31 4:00 ` Chris Torek
1998-09-04 4:00 ` Thor Lancelot Simon
1998-09-05 4:00 ` Peter da Silva
1998-09-05 4:00 ` Jordan Henderson
1998-09-07 4:00 ` Peter da Silva
1998-09-07 4:00 ` Jordan Henderson
1998-09-07 4:00 ` Richard Stamp
1998-09-07 4:00 ` Dan Pop
1998-09-07 4:00 ` Peter da Silva
1998-09-07 4:00 ` Jordan Henderson
1998-09-08 4:00 ` JF Mezei
1998-09-08 4:00 ` Tim Shoppa
[not found] ` <6t4cui$hfu@espresso.cafe.net>
1998-09-09 4:00 ` Tim Shoppa
1998-09-08 4:00 ` JF Mezei
1998-09-09 4:00 ` Dan Pop
1998-09-09 4:00 ` Peter da Silva
1998-09-08 4:00 ` Peter da Silva
[not found] ` <6t2im5$mke@espresso.cafe.net>
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Dan Pop
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Dan Pop
1998-08-26 4:00 ` Paul Sture
1998-08-27 4:00 ` Gregg E Economou
1998-08-28 4:00 ` Paul Sture
1998-08-26 4:00 ` Bob Koehler
1998-08-27 4:00 ` Thor Lancelot Simon
1998-08-28 4:00 ` TERENCE MURPHY
1998-08-28 4:00 ` Monty Brandenberg
1998-08-28 4:00 ` Greg Thomas
1998-08-29 4:00 ` mathog
1998-09-01 4:00 ` Greg Thomas
1998-08-28 4:00 ` George Cornelius
1998-08-29 4:00 ` Gregg E Economou
1998-09-05 4:00 ` Peter da Silva
1998-08-28 4:00 ` Bob Koehler
1998-09-05 4:00 ` Peter da Silva
1998-09-08 4:00 ` Carl Perkins
1998-08-31 4:00 ` Boris
1998-08-27 4:00 ` Peter da Silva
1998-08-31 4:00 ` Boris
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox