Re: Is there an end of string like in C
- From: Björn Persson <spam-away@xxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 19:38:11 GMT
Chris L wrote:
In C, there is an end of string character ('\0'). Is there one in Ada?
Null-terminated buffers are a very very poor substitute for arrays. They are the cause of a majority of all the security holes in computer systems. Of course we don't do that in Ada. Read here:
http://en.wikibooks.org/wiki/Ada_Programming/Strings#Unbounded-length_string_handling
--
Björn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
.
- References:
- Is there an end of string like in C
- From: Chris L
- Is there an end of string like in C
- Prev by Date: Re: Is there an end of string like in C
- Next by Date: Re: Custom model in gtkada?
- Previous by thread: Re: Is there an end of string like in C
- Next by thread: Re: Is there an end of string like in C
- Index(es):
Relevant Pages
|