Article View: comp.lang.c
Article #1291Re: p = {1,0,0}
From: fir
Date: Tue, 03 Nov 2026 12:29
Date: Tue, 03 Nov 2026 12:29
31 lines
2719 bytes
2719 bytes
Keith Thompson pisze:
> David Brown <david.brown@hesbynett.no> writes:
> [...]
>> In C, you need to give a type to "{ 10, 20 }" - as you did here,
>> making it into a compound literal. The expression "{ 10, 20 }" on its
>> own cannot be used for assignment to "s" because the type of an
>> expression must be determined from the expression alone - not from
>> what you are assigning it to.
>
> In fact `{ 10, 20 }` is not an expression at all. It's a valid
> initializer and it can be part of an expression (a compound literal).
>
thse people DB and KT are like c beaurocrates where I and BC look on ths
ame things as like a theoretical c view
so its theoretical c and beaurocratic c meet up
(ofc being a c beaurocrate is not bad, its even quite good imo...
but doin c thery is also very good imo..
so in that context {10,20} is a thing in theoretical c and its not only
this what is in beaurocratic c
NOTE what is true, c is not only what is in beurocratic areas its also
quite theoretical concept/being
(this way i dont like people talking what is not a beaurocratic c is not
a c - it often is deeper theoretial c, though there is also some border
inside but not all concept could be named deeper c/theoretical c i
guess, but some can)
(which can and which cant is an other story)
Technical Details
Message-ID:
<11cck4a$3o8ho$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:
<11c7f1j$20b9h$1@dont-email.me> <11c7fj6$20gab$1@dont-email.me> <11cae5m$318tq$1@dont-email.me> <11cb47l$39nj8$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: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: p = {1,0,0}
Date: Tue, 3 Nov 2026 13:29:59 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <11cck4a$3o8ho$1@dont-email.me>
References: <11c7f1j$20b9h$1@dont-email.me> <11c7fj6$20gab$1@dont-email.me>
<11cae5m$318tq$1@dont-email.me> <11cb47l$39nj8$1@kst.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 03 Nov 2026 12:30:02 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="3940920"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//CyxaAUtUDp+5l800bJPGnQky/loVSsQ="; posting-host="74e0b903fc41719bd550775fdb1cba7e"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:o98hIA8qdb7QQi0YprJN88S4XZk= sha256:9RqRs4DTDccwkBcay38227YCZkg8cSYgxxfrwXaAUbQ=
sha1:tIae2tztN+szmXSL0wYrrHj+JhE= sha256:v8Fdw0H9H9+NdMnIJdOwhgAkg8T1w6nA4eGMtiPnj1w=
In-Reply-To: <11cb47l$39nj8$1@kst.eternal-september.org>