Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: K&R, 2nd edition, Brian's concerns with ``char c = EOF'' Date: Fri, 10 Dec 2021 10:46:45 -0800 Organization: None to speak of Lines: 35 Message-ID: <875yrwb8mi.fsf@nosuchdomain.example.com> References: <86pmqwkm7u.fsf@levado.to> <4fcda596-2e00-4dd6-bf8f-4616218f4398n@googlegroups.com> <91a56855-b917-45a2-89be-7e2ed806d357n@googlegroups.com> <87a6hac0oj.fsf@nosuchdomain.example.com> <11efb602-293a-4a90-b0bd-832617377f57n@googlegroups.com> <86fsr28ns3.fsf@linuxsc.com> <5e1ba862-156c-4b1d-93a4-661ef66aadedn@googlegroups.com> <86lf0s7pcy.fsf@linuxsc.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="b669a5611549520704c9fe5a579bad30"; logging-data="24466"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6F6VnojUR7vMarogqc+3O" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:ogvPNMm3UG3cV3SEoaQ2TBqTxIY= sha1:v5Y+X9F/+Hm8WB9CHiuGPqh0zLw= Xref: csiph.com comp.lang.c:163772 Tim Rentsch writes: > Dave Dunfield writes: >> On Wednesday, December 8, 2021 at 10:23:22 PM UTC-5, Tim Rentsch wrote: >>> (Incidentally, can you explain why you can't set up a news >>> account with one of several few news providers, such as >>> eternal-september, and avoid the problems of using google >>> groups?) >> >> Just haven't taken the time so far ... looked into setting up some >> sort of newsgroup access and spent hours running into various >> roadblocks... Along the way I discovered "Google Groups" which >> would give me access with little difficulty .. just at the cost of >> having everything reformatted in a "code unfriendly" manner... > > If you want other people to look at what you're doing it's > important to provide access in a way that _they_ think is easy. > >> [...] I've essentially retired and having much more time on my >> hands, [...] > > If you have lots of free time, you might practice writing C code > that conforms to the ISO C standard. Good feedback is available > using > > gcc -std=c99 -pedantic-errors If you have a reasonably modern version of gcc, you can use -std=c11 or -std=c17. (C17 was a minor update on top of C11, and the only difference between gcc's -std=c11 and -std=c17 options is the value of __STDC_VERSION__.) -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */