Re: question about nullptr

Liste des GroupesRevenir à cl c 
Sujet : Re: question about nullptr
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.c
Date : 16. Jul 2024, 00:49:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v74chk$u06v$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 7/15/24 18:51, Lawrence D'Oliveiro wrote:
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

Keep in mind that, in text mode, the <stdio.h> library routines use '\n'
in memory to represent whatever platform-specific method is used in
files to indicate a new line. For example, that can be a simple '\n' on
typical Unix-like machines, '\n\r' or '\r\n' on other operating systems,
and on a number of older systems, it could be converted to and from a
fixed-size block with a character count at the the beginning of the
block. There's no requirement that it be the Unicode line feed character.

Date Sujet#  Auteur
12 Jul 24 * Re: question about nullptr13Richard Harnden
12 Jul 24 +* Re: question about nullptr4Kaz Kylheku
13 Jul 24 i`* Re: question about nullptr3Kaz Kylheku
13 Jul 24 i +- Re: question about nullptr1James Kuyper
13 Jul 24 i `- Re: question about nullptr1Keith Thompson
14 Jul 24 +- Re: question about nullptr1Tim Rentsch
15 Jul 24 `* Re: question about nullptr7Lawrence D'Oliveiro
16 Jul 24  +- Re: question about nullptr1Keith Thompson
16 Jul 24  `* Re: question about nullptr5James Kuyper
16 Jul 24   +- Re: question about nullptr1Keith Thompson
25 Aug 24   `* Re: question about nullptr3dave thompson 2
25 Aug 24    +- Re: question about nullptr1Richard Damon
26 Aug 24    `- Re: question about nullptr1James Kuyper

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal