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=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID,
PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 103376,f868292008c639ce
X-Google-Attributes: gid103376,public
From: "Pascal Obry"
Subject: Re: C vs. Ada - strings
Date: 2000/05/03
Message-ID: <8eonos$e70$1@wanadoo.fr>#1/1
X-Deja-AN: 618605732
References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com>
<8en5o9$ihe$1@nnrp1.deja.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 957342300 14560 164.138.109.224 (3 May 2000 08:25:00 GMT)
Organization: home
NNTP-Posting-Date: 3 May 2000 08:25:00 GMT
Newsgroups: comp.lang.ada
Date: 2000-05-03T08:25:00+00:00
List-Id:
Ted Dennison a �crit dans le message <8en5o9$ihe$1@nnrp1.deja.com>...
>In article <390F0D93.F835FAD9@ftw.rsc.raytheon.com>,
>"if it weren't for the ...string packages"? Without the string handling
>functions in C's standard library, C strings suck even worse....
>
But where did you see a C string ? In C you have a pointer to a memory
space terminated by 'nul' !
This is not a string to me. And because C does not have strings, there is
no operator on them you have to use strcmp, strcpy, strcat, strncmp...
Is that what a string is for C programmers :)
Pascal.
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"