Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <20240712161502.715@kylheku.com>
Deutsch   English   Français   Italiano  
<20240712161502.715@kylheku.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.lang.c
Subject: Re: question about nullptr
Date: Fri, 12 Jul 2024 23:28:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <20240712161502.715@kylheku.com>
References: <v6bavg$3pu5i$1@dont-email.me> <20240706054641.175@kylheku.com>
 <v6ragn$318o9$1@dont-email.me> <20240712144910.90@kylheku.com>
 <c5ikO.4361$h64d.3054@fx40.iad>
Injection-Date: Sat, 13 Jul 2024 01:28:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="967b0e8846f9b5a5ed25042c753870c4";
	logging-data="3410190"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+5rZAY/XqRtQteSrsLSNEnPmBoRnXO21k="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:L4Ss52uI2cJu2yWCPeF8SjoT5j4=
Bytes: 2161

On 2024-07-12, Scott Lurndal <scott@slp53.sl.home> wrote:
> Kaz Kylheku <643-408-1753@kylheku.com> writes:
>>On 2024-07-12, Richard Harnden <richard.nospam@gmail.invalid> wrote:
>
>>>
>>> Don't you use '\n'? Surely nobody would say 0x0a?
>
>>But, see, nobody in their right mind would say '\012` for that. '\0'
>>an octal escape sequence like '\012', not a role-based character
>>abstraction like '\n'.
>
> Actually, it's entirely likely that a programmer using C in 1978
> would have used \012 for newline - it was the custom to use octal
> on the PDP-11.   Consider the od(1) utility, for example.

But why would they use '\012', if 012 was available. The quotes
and backslash doubles the character count and create visual clutter.

If I want the number 10 of type int, why would I switch into
a character quote inside of which I have to escape back to
a numeric specification.

In C++ it makes sense, because we get the char type, which can
be important:  foo('\012') -> pick the foo(char) overload, not
the foo(int).

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca