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-05 06:52:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!wn3feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BBDBB4B.523FDC82@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp References: <9pgr68$7pu1@news.cis.okstate.edu> <3bbd6287.346843109@news.cis.dfn.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 05 Oct 2001 13:52:52 GMT NNTP-Posting-Host: 12.86.33.54 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1002289972 12.86.33.54 (Fri, 05 Oct 2001 13:52:52 GMT) NNTP-Posting-Date: Fri, 05 Oct 2001 13:52:52 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:13784 Date: 2001-10-05T13:52:52+00:00 List-Id: Dmitry Kazakov wrote: > > In any case, as many have pointed, it is a bit ridiculous to compare > Ada's strings with C++ having no strings at all. That is almost true. C++ now has a standard String class. This puts its string capabilities on a par with Java's string capabilities. The C++ String class provides some safety in the use of strings. For instance, it checks for an attempt to access a string element beyond the end of the string. On the other hand, the C++ string is much less efficient than the Ada string. It is also incompatible with many of the other standard C++ functions. Those functions require the primitive "string" defined by C. You know that string; a block of memory terminated by a binary 0. Jim Rogers Colorado Springs, Colorado USA