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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-04 10:15:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp Date: Thu, 4 Oct 2001 13:05:46 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9pi4tc$f4c$1@nh.pace.co.uk> References: <9pgr68$7pu1@news.cis.okstate.edu> <9phnic$9g5$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1002215148 15500 136.170.200.133 (4 Oct 2001 17:05:48 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 4 Oct 2001 17:05:48 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:13727 Date: 2001-10-04T17:05:48+00:00 List-Id: Well, you're point is taken. Both C and C++ do tend to treat strings as just a bunch of bytes. But if we're fair about it, C does have some standard functions for string manipulation and C++ does have a string class that provides some support for string manipulation, so it isn't as if the language designers never considered that you might want to find occurrences of "David" in the string "Marin David Condic", right? I think the Ada support is more "industrial strength" but obviously Ada wasn't designed to be a text processing language. So criticism could be leveled at Ada for not treating strings as nicely as something like SNOBOL. Could be a case of the Pot calling the Kettle black? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Pascal Obry" wrote in message news:uadz7nza7.fsf@wanadoo.fr... > > Are you saying that C and C++ has support for strings ? > > I see there only pointers to a serie of bytes in memory terminated to '\0' ! > Is that a string definition ? :) > > Pascal. >