Re: Null-terminated strings: the final analysis.
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Sun, 12 Apr 2009 11:56:48 -0400
Mark Wooding wrote:
.... snip ...
And none of this addresses the major defect of null-terminated
strings, which is that they can't represent strings containing
a zero byte.
Bearing in mind that strings contain only printable characters,
what possible use can you have for a zero byte?
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
.
- Follow-Ups:
- Re: Null-terminated strings: the final analysis.
- From: Mark Wooding
- Re: Null-terminated strings: the final analysis.
- From: Joe Wright
- Re: Null-terminated strings: the final analysis.
- From: Richard
- Re: Null-terminated strings: the final analysis.
- From: Keith Thompson
- Re: Null-terminated strings: the final analysis.
- References:
- Re: Null-terminated strings: the final analysis.
- From: Tony
- Re: Null-terminated strings: the final analysis.
- From: Mark McIntyre
- Re: Null-terminated strings: the final analysis.
- From: Mark Wooding
- Re: Null-terminated strings: the final analysis.
- Prev by Date: Re: Omitting return in non-void function
- Next by Date: Re: Null-terminated strings: the final analysis.
- Previous by thread: Re: Null-terminated strings: the final analysis.
- Next by thread: Re: Null-terminated strings: the final analysis.
- Index(es):
Relevant Pages
|