Re: where exactly c++,c fail and Ada gets thru'
- From: Martin Krischik <krischik@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 21:17:07 +0200
Hi Ananth
Ananth the Boss wrote:
NASA aslo uses Ada.at what point c++ or c turns to be
not suitable for devleloping flight software. i may be wrong also. can
any one give some more justifications for telling "ADA is safe" thanks
in advance
Neither C nor C++ provides any standard means for detecting
overflow or underflow of numeric types. C provides no way to
ensure that a numeric type uses only a valid set of values. C++
forces you to define a class wrapping the numeric value.
Just in case you have not read up on Ada typing here some pointers:
http://en.wikibooks.org/wiki/Ada_Programming/Types
http://en.wikibooks.org/wiki/Ada_Programming/Subtypes
Martin
--
mailto://krischik@xxxxxxxxxxxxxxxxxxxxx
Ada programming at: http://ada.krischik.com
.
- References:
- where exactly c++,c fail and Ada gets thru'
- From: Ananth the Boss
- Re: where exactly c++,c fail and Ada gets thru'
- From: jimmaureenrogers@xxxxxxxxxxxxxxxx
- where exactly c++,c fail and Ada gets thru'
- Prev by Date: Re: Q: Index value in case of Ada.Streams.Stream_IO.End_Error
- Next by Date: Re: where exactly c++,c fail and Ada gets thru'
- Previous by thread: Re: where exactly c++,c fail and Ada gets thru'
- Next by thread: Re: where exactly c++,c fail and Ada gets thru'
- Index(es):
Relevant Pages
|