Article View: comp.lang.c
Article #1375Re: p = {1,0,0}
From: fir
Date: Sun, 08 Nov 2026 03:20
Date: Sun, 08 Nov 2026 03:20
50 lines
3051 bytes
3051 bytes
bartc pisze:
> On 07/11/2026 19:50, fir wrote:
>> bartc pisze:
>>>>
>>>> there is also option
>>>>
>>>> int rand { rand = rand()}
>>>
>>> Which means...?
>>
>> ofc some could also write
>>
>> int rand() { rand = rand()}
>
> One could also avoid using the same identifier for three different things!
>
for two different first two are the same (its definition of local
extended structure rand).. the third indeed is rand from clib
its easier to think some is extended structure nearly all in Ↄ is
extended structure (but also may name it as module or entity, too)
> I assume that last 'rand' is calling some external function, but that is
> going to be shadowed by at least that first 'rand' and possibly the second.
>
>>
>> then its maybe easier to understtod..
>
>
> No, try it like this first:
>
> int A() {B = C()}
>
> Although that will only fix one puzzle out of many.
>
>
>> note its not a function rand() that returns int its a module-function
>> rand tthat contains/covers int
>>
>> i moit those empty () for function modules becouse they are not needed
>> like
>>
>> some {printf("\n elo";) }
>
>
> 'some' seems to be a refugee from your other post. It's not defined here
> anyway.
>
>
Technical Details
Message-ID:
<14be9ea5-918f-5871-1bba-11e29e6e25d5@gmail.com>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> <11calrt$34gq3$1@dont-email.me> <11carqs$36m0o$1@dont-email.me> <11cb4hs$3a13l$1@dont-email.me> <11ccnkq$3pjhd$1@dont-email.me> <11ccobd$3ps4l$1@dont-email.me> <11cctee$3rtjh$1@dont-email.me> <11ccu0t$3s54f$1@dont-email.me> <11ccv4n$3sjn5$1@dont-email.me> <11cd05l$3t1er$1@dont-email.me> <11cd0q3$3ta28$1@dont-email.me> <11cd1vs$3tpfp$1@dont-email.me> <11cnve1$3ofei$1@dont-email.me> <11co8d4$3rpvm$1@dont-email.me>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: Sun, 8 Nov 2026 04:20:22 +0100
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <14be9ea5-918f-5871-1bba-11e29e6e25d5@gmail.com>
References: <11c7f1j$20b9h$1@dont-email.me> <11c7fj6$20gab$1@dont-email.me>
<11cae5m$318tq$1@dont-email.me> <11calrt$34gq3$1@dont-email.me>
<11carqs$36m0o$1@dont-email.me> <11cb4hs$3a13l$1@dont-email.me>
<11ccnkq$3pjhd$1@dont-email.me> <11ccobd$3ps4l$1@dont-email.me>
<11cctee$3rtjh$1@dont-email.me> <11ccu0t$3s54f$1@dont-email.me>
<11ccv4n$3sjn5$1@dont-email.me> <11cd05l$3t1er$1@dont-email.me>
<11cd0q3$3ta28$1@dont-email.me> <11cd1vs$3tpfp$1@dont-email.me>
<11cnve1$3ofei$1@dont-email.me> <11co8d4$3rpvm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 08 Nov 2026 03:20:31 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="24289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gDtQmmhrPw+YTqw+F76W12B8OKoaSzfI="; posting-host="9324e5ef4bfce41eb124a57241b8befc"
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:hP9BivQZIEEnc4915LiEsD9FKTA= sha256:CDwtqglteyhRNV9D2OdExQmuoUi+xGAuZA5aqvvx/QA=
sha1:CPp8ROO/tYLBRdGdvcfgQF8X+3s= sha256:nqYX6MDJ0GHtTF6yxYtGou5UBLkrTth2iFiAjcBM7Eg=
In-Reply-To: <11co8d4$3rpvm$1@dont-email.me>