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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "fabio de francesco" Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 10 Mar 2005 20:53:48 -0800 Organization: http://groups.google.com Message-ID: <1110516828.659184.229280@f14g2000cwb.googlegroups.com> References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110508346.652721.170680@g14g2000cwa.googlegroups.com> <1110514017.501621@athnrd02> NNTP-Posting-Host: 80.181.51.48 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1110516832 5259 127.0.0.1 (11 Mar 2005 04:53:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 11 Mar 2005 04:53:52 +0000 (UTC) In-Reply-To: <1110514017.501621@athnrd02> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=80.181.51.48; posting-account=Lp02jQ0AAABMd3TAghNf0TM2YBZqD_JE Xref: g2news1.google.com comp.lang.ada:9091 comp.lang.c++:45056 comp.realtime:1237 comp.software-eng:4805 Date: 2005-03-10T20:53:48-08:00 List-Id: Ioannis Vranos wrote: > Your C++ code in a bit better shape (and more spaces, I like to add > spaces to make the code more readable): > > > #include > #include > [cut] > Ioannis Vranos Thank you for your reply and for introducing me to "stdexcept" and "std::out_of_range". I didn't know those features so I want to learn some more about them. B.Stroustrup wrote in his "C++ Programming Language" that He was partly inspired by Ada (and by a misterious to me "Clu") in creating C++ templates and exceptions. Does it mean these languages are closer than everyone would expect? Ciao, fabio de francesco Ciao,