Sujet : Re: question about nullptr
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 16. Jul 2024, 00:32:28
Autres entêtes
Organisation : None to speak of
Message-ID : <874j8qs037.fsf@nosuchdomain.example.com>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Fri, 12 Jul 2024 14:19:19 +0100, Richard Harnden wrote:
Don't you use '\n'? Surely nobody would say 0x0a?
>
Why not full symbolic Unicode names, à la Python:
>
"\n" == "\N{LINE FEED}"
>
⇒
>
True
Because C doesn't have that feature and is not expected to any
time soon, because C doesn't specify that '\n' is line feed, and
because using something like "\N{LINE FEED}" to denote a simple
newline charater would be silly because '\n' is already standard
and universally recognized by all C programmers.
Why do you ask? Seriously, why did you ask this?
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */