Article View: comp.lang.c++
Article #757Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: James Kuyper
Date: Fri, 06 Nov 2026 15:33
Date: Fri, 06 Nov 2026 15:33
9 lines
1799 bytes
1799 bytes
On 2026-11-06 00:35, Keith Thompson wrote: > James Kuyper <jameskuyper@alumni.caltech.edu> writes: > [...] >> Otherwise, one or more parentheses >> might solve the problem. > > Technically correct (the best kind of correct), but *two* or more > parentheses are even better. I should have said "... one or more matched pairs of parentheses ...".
Technical Details
Message-ID:
<11cks0d$2l6em$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cjou8$28l4t$1@kst.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Fri, 6 Nov 2026 10:33:33 -0500 Organization: A noiseless patient Spider Lines: 9 Message-ID: <11cks0d$2l6em$1@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cjou8$28l4t$1@kst.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 06 Nov 2026 15:33:34 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2791894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yJHde+BENXMlaO2f2Q6WDwELlknsblIc="; posting-host="c496f625e107a4950c233df735bcbe22" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:m/Ecf1X+pvRqstT1T1F32T1IkTg= sha256:Oc5I1m+iGaWlCzTywS2CDYiOsOyHPP2r6wLQJii2tQ8= sha1:th1XtiMPNrehXM4cT9CWo419Xxk= sha256:fIf8yc0RcgEPBIDjdXk5y6VyxxeY93PhXwbOWMsznuY= In-Reply-To: <11cjou8$28l4t$1@kst.eternal-september.org> Content-Language: en-US