Re: Null-terminated strings: the final analysis.
- From: Mark Wooding <mdw@xxxxxxxxxxxxxxxx>
- Date: Sun, 12 Apr 2009 20:16:35 +0100
Joe Wright <joewwright@xxxxxxxxxxx> writes:
I believe strings can contain tabs, and other things that don't print but I
agree strings cannot contain the NUL character.
.... by a trivial consequence of C's definition of a string, no less.
Further, a text file is corrupted by the NUL character in a line.
Only because C strings can't represent lines of text containing a zero
byte. Using this to justify C's representative inadequacy is circular.
-- [mdw]
.
- Follow-Ups:
- Re: Null-terminated strings: the final analysis.
- From: Richard
- Re: Null-terminated strings: the final analysis.
- From: Mark McIntyre
- Re: Null-terminated strings: the final analysis.
- From: Ben Pfaff
- 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.
- From: CBFalconer
- Re: Null-terminated strings: the final analysis.
- From: Joe Wright
- Re: Null-terminated strings: the final analysis.
- Prev by Date: Re: Null-terminated strings: the final analysis.
- 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
|