Deutsch English Français Italiano |
<fcf38e9d545ee14adfd03731dfa24b4079681b7a@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: fir <fir@grunge.pl> Newsgroups: comp.lang.c Subject: Re: else ladders practice Date: Sun, 03 Nov 2024 14:55:46 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <fcf38e9d545ee14adfd03731dfa24b4079681b7a@i2pn2.org> References: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org> <vg0t3j$2ruor$1@dont-email.me> <78eabb4054783e30968ae5ffafd6b4ff2e5a5f17@i2pn2.org> <vg2g37$37mh3$1@dont-email.me> <6724CFD2.4030607@grunge.pl> <vg2llt$38ons$1@dont-email.me> <2491a699388b5891a49ef960e1ad8bb689fdc2ed@i2pn2.org> <b681ee05856e165c26a5c29bf42a8d9d53843d6d@i2pn2.org> <vg2ttn$3a4lk$1@dont-email.me> <vg33gs$3b8n5$1@dont-email.me> <vg358c$3bk7t$1@dont-email.me> <vg37nr$3bo0c$1@dont-email.me> <vg3b98$3cc8q$1@dont-email.me> <vg5351$3pada$1@dont-email.me> <vg62vg$3uv02$1@dont-email.me> <6726D029.1010809@grunge.pl> <vg7nst$bejq$1@dont-email.me> <b528469f59b9c062e03db14790137424c56c36fa@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Nov 2024 13:55:50 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="756851"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 In-Reply-To: <b528469f59b9c062e03db14790137424c56c36fa@i2pn2.org> X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2147 Lines: 25 fir wrote: >bart wrote >> C already has this (I've added parentheses for clarity): >> >> (a ? (b ? c : -) : z) >> >> This shows you haven't provided a branch for b being false. >> > > coz ypu dont need to provide such branch > in c yu need to put that ":" each time? (if so some error was discovered > as it ould be better to not oblige its existence) ye i checked and it seems you cant x ? printf("aa"); you must write x ? printf("aa"):0; this also go x ?: printf("bbb"); thsi is a mistake as "?" should go and ":" optionally