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 <20240709104848.00005732@yahoo.com>
Deutsch   English   Français   Italiano  
<20240709104848.00005732@yahoo.com>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: question about nullptr
Date: Tue, 9 Jul 2024 10:48:48 +0300
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <20240709104848.00005732@yahoo.com>
References: <v6bavg$3pu5i$1@dont-email.me>
	<20240706054641.175@kylheku.com>
	<v6bfi1$3qn4u$1@dont-email.me>
	<l9ciO.7$cr5e.2@fx05.iad>
	<877cdyuq0f.fsf@bsb.me.uk>
	<2ckiO.19403$7Ej.4487@fx46.iad>
	<87plrpt4du.fsf@bsb.me.uk>
	<9bCiO.7108$sXW9.3805@fx41.iad>
	<877cdwu9s1.fsf@nosuchdomain.example.com>
	<20240708222804.00001654@yahoo.com>
	<v6hotk$11nib$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 09 Jul 2024 09:48:24 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="563505b595a11e4e07a72bd290784cde";
	logging-data="1383167"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18yAlv79BiYbsHa+itSLiXsjMxU8qt7GD8="
Cancel-Lock: sha1:P8/UEtcnWqvfd12kQTkym6Ql7Tc=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
Bytes: 2264

On Mon, 8 Jul 2024 15:23:47 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:

> On 7/8/2024 12:28 PM, Michael S wrote:
> > On Sun, 07 Jul 2024 15:17:34 -0700
> > Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
> >   
> >>
> >> I just about always use NULL, not 0, when I want a null pointer
> >> constant.  Similarly, I use '\0', not 0, when I want a null
> >> character, 0.0 when I want a floating-point zero, and false when I
> >> want a Boolean zero.  I just like being explicit.
> >>  
> > 
> > Pointer: I very rarely use NULL.
> > Character: I never use '\0'.  
> 
> Not even something like:
> 
> #define CLINE 128
> 
> char x[CLINE] = { '\0' };
> 
> ?
> 
> ;^)


I see nothing special about your case. {0} is the most appropriate.
And, BTW, I never use #define for integer constants.

> 
> 
> > Floating point: I never use 0.0.
> > Boolean: I use false much more often than 0.
> >   
>