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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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-08 21:59:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!portc03.blue.aol.com!newsfeed.skycache.com.MISMATCH!newsfeed1.cidera.com!Cidera!netnews.com!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail From: "David Thompson" Newsgroups: comp.lang.ada References: <9pgr68$7pu1@news.cis.okstate.edu> <9phnic$9g5$1@nh.pace.co.uk> Subject: Re: ada vs. cpp X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Tue, 09 Oct 2001 04:59:00 GMT NNTP-Posting-Host: 12.89.134.11 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1002603540 12.89.134.11 (Tue, 09 Oct 2001 04:59:00 GMT) NNTP-Posting-Date: Tue, 09 Oct 2001 04:59:00 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:13987 Date: 2001-10-09T04:59:00+00:00 List-Id: Pascal Obry wrote : ... > 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 ? :) > In C that is the support for (and definition of) strings, yes. In C++ (here as in other areas) you still have the C features but there is also the standard library class std::string which is actually a specialization of basic_string for char, and similarly std::wstring for wchar_t, which automatically manage storage like Java String or Ada.Strings.Unbounded . -- - David.Thompson 1 now at worldnet.att.net