🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1382

Re: p = {1,0,0}

#1382
From: fir
Date: Sun, 08 Nov 2026 12:12
66 lines
3442 bytes
fir pisze:
> fir pisze:
>>>
>>
>> C ad A arestructures and functions  at once
>>
>> C() {2}  (Or
>> C{2} is the same as you may skip () in definiton if they are empty)
> 
> 
> note normally it could be defined
> 
> int C() {C=2}
> 
> 
> so now when you write
> 
> printf("%d", C*C);
> 
> then C may be not set it rather printf 0 or random stack value
> 
> but the
> 
> C{2}
> 
> is a nice shortcut also
> 
> those are all discovered ideas and some details i mat yet all change
> as those dicoveries open some space for some decisions


I could say its not concise becuse say you got such

int C {clib_rand()}

now C() calls clib_rand() but discards a value
and C as value has unset int value even after C() call
(and its possibly somewhat good)

so

C{2} whan called C() should do nothing (ass calling 2; do nothing)
but as read should not have a value (not 2) but C{2} seem nice to have 
as 2 so maybe it needs to have some additional rules to define or change
the above

putting the rule that

C{} should have value of what inside has as value is not quite good 
becouse say

C(int i) {i++; i++; i++; i++; -1,0,-4}

would have 'volatile' value  like {2,3,4,5, -1,0,4}  which seem kinda 
nonsence (in some way)

i dont know maybe just code lines could be skipped so in the above
C has a value of {-1,0,4}

(and in those all things i wrote before it was kinda ssumed in facy 
(though in fact i was not considered constants there)




Technical Details
Message-ID: <11cpov5$9q2h$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-mail
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> <14be9ea5-918f-5871-1bba-11e29e6e25d5@gmail.com> <11coqot$1236$1@dont-email.me> <11cplsf$8nc4$1@dont-email.me> <11cpnbb$97kp$1@dont-email.me> <11cpo21$9fji$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 13:12:07 +0100
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <11cpov5$9q2h$1@dont-email.me>
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>
 <14be9ea5-918f-5871-1bba-11e29e6e25d5@gmail.com>
 <11coqot$1236$1@dont-email.me> <11cplsf$8nc4$1@dont-email.me>
 <11cpnbb$97kp$1@dont-email.me> <11cpo21$9fji$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 12:12:22 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="321617"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18qSuIPVcDdE6fbTdylmLDiVk5R9E+pOFY="; 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:GGeYFzF+uorhZytSzaSCzeZSbAE= sha256:y5Jy6/ARvyqiINE2PCoU0fot9oPUUvLe9Ra1N3slT+A=
	sha1:rxzMJUdx8F+QDFoVUYnLseBOdfM= sha256:H+Tesv4JVDuZ1GiP/RHN82w7RsIcGnwIYBXW6Z9yzSw=
In-Reply-To: <11cpo21$9fji$1@dont-email.me>