🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1423

Re: p = {1,0,0}

#1423
From: fir
Date: Tue, 10 Nov 2026 14:17
33 lines
2896 bytes
fir pisze:
> bartc pisze:
>>> int LEN = strlen(a);
>>> int i =0; {a[i++]==0? break} ^ LEN;
>>
>> How you have a loop that iterates over 0 to LEN-1, and yet you still 
>> have a repeat-N-times loop and need to manually initialise and step 
>> the index?
> 
> i dont have to, i acn...and this pieco of code above is especially 
> neat(its in fact the answer)
> 

its in fact this so called "manual" c - and maybe this makes it so
good - everybody loves manual c

note this syntax you proposed

for int i = 1,80 {}

is already not manual

even for(int =0; i<80; i++) isl ike less "manual" tha this

  int LEN = strlen(a);
  int i =0; {a[i++]==0? break} ^ LEN;

imo its more manual becouse it has not this "what loop iteration is" topic

powering here (as reapating {}{}{}{}) is much more manual


Technical Details
Message-ID: <11cv92q$27614$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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> <11cpov5$9q2h$1@dont-email.me> <11cq3hb$dnf9$1@dont-email.me> <11ctijh$1mb1u$1@dont-email.me> <11ctr0o$1or07$1@dont-email.me> <11cv8qo$26v3e$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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, 10 Nov 2026 15:17:40 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <11cv92q$27614$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>
 <11cpov5$9q2h$1@dont-email.me> <11cq3hb$dnf9$1@dont-email.me>
 <11ctijh$1mb1u$1@dont-email.me> <11ctr0o$1or07$1@dont-email.me>
 <11cv8qo$26v3e$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 10 Nov 2026 14:18:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2332708"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1889zHxuBRIq3fVXv42KofGyywYPAmY+pA="; posting-host="5e24ef116842e5f7dade8922bc1e4cca"
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:THowv74fIFHcbS0PR1Aj0KcRu+k= sha256:jIP9QuSHsPKmu2dkU9/lmPirYqtkO+sbv9Uri6yu6r8=
	sha1:/z+A+XghgK1f304YYRnOQJ3mRPY= sha256:BYcGt1Bhzqdp+i2FzWe2wa2+MfA1xUkbLxzZRWtY/bE=
In-Reply-To: <11cv8qo$26v3e$2@dont-email.me>