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,54c513170bafd693 X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: Desirability of C++ Date: 2000/05/03 Message-ID: <8eoo6v$ers$1@wanadoo.fr>#1/1 X-Deja-AN: 618607357 References: <390DEC7F.9429C82C@online.no><390E2A20.B647D0D6@maths.unine.ch> <8em8mb$evd$1@wanadoo.fr><390EEF24.BD36AA24@maths.unine.ch> <8eonat$sqj3@ftp.kvaerner.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 957342751 15228 164.138.109.224 (3 May 2000 08:32:31 GMT) Organization: home NNTP-Posting-Date: 3 May 2000 08:32:31 GMT Newsgroups: comp.lang.ada Date: 2000-05-03T08:32:31+00:00 List-Id: Tarjei T. Jensen a �crit dans le message <8eonat$sqj3@ftp.kvaerner.com>... > >C has only one string type. It works reasonably well. Probably the most Sorry but to me C has no string type. It has "char *" which is a pointer to some memory space! The consequence here is that there is no operator available ! Even to compare two strings you have to write: if (strcmp (name1, name2) == 0) { ... } I do prefer: if name1 = name2 then ... end if; 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"