Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #10288
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
| Newsgroups | comp.programming |
| Subject | Re: Long winter evenings |
| Date | Wed, 06 Nov 2019 04:58:18 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 25 |
| Message-ID | <86zhh9duvp.fsf@linuxsc.com> (permalink) |
| References | <qppnk6$584$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | reader02.eternal-september.org; posting-host="677c6b51f4e841f5ef03e106670d3db1"; logging-data="17287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qskO5E9oNJVOEkbifzpEH3itJHd1SD+I=" |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) |
| Cancel-Lock | sha1:iY675WYyqO1EOQTfG8ZIXO4n48w= sha1:ucrRA+OMToSMNrDzYoqEfsQu8ts= |
| Xref | csiph.com comp.programming:10288 |
Show key headers only | View raw
Richard Heathfield <rjh@cpax.org.uk> writes: > I have just written a program in C, which for reasons that will remain > shrouded in the mists of wossname I wanted to be as short as > possible. The program solves a highly specific and relatively > antiquated problem. > > Now that the nights are drawing in, some of you might be at a loose > end and wish for something to help you pass the time. > > So here's the puzzle, which is in two parts: > > (1) What, *exactly*, does the program do? That is, what is the > significance of the printed result? > > (2) Is there a way to make the program shorter, without compromising > its rigorous adherence to ISO C90? [...] There is a simple way of shortening the program that applies to all the variations I have seen posted. Hint: I don't make the rules, I just follow them. (In my own defense let me say I think this idea is easier to figure out than question (1) above.)
Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread
Long winter evenings Richard Heathfield <rjh@cpax.org.uk> - 2019-11-04 17:37 +0000
Re: Long winter evenings David Brown <david.brown@hesbynett.no> - 2019-11-04 22:39 +0100
Re: Long winter evenings Richard Heathfield <rjh@cpax.org.uk> - 2019-11-04 21:51 +0000
Re: Long winter evenings David Brown <david.brown@hesbynett.no> - 2019-11-05 10:42 +0100
Re: Long winter evenings Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-11-04 22:24 +0000
Re: Long winter evenings Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-11-04 22:19 +0000
Re: Long winter evenings Richard Heathfield <rjh@cpax.org.uk> - 2019-11-04 22:30 +0000
Re: Long winter evenings Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-11-04 23:59 +0000
Re: Long winter evenings Richard Heathfield <rjh@cpax.org.uk> - 2019-11-05 01:03 +0000
Re: Long winter evenings Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-11-05 04:01 +0000
Re: Long winter evenings Richard Heathfield <rjh@cpax.org.uk> - 2019-11-05 07:42 +0000
Re: Long winter evenings Melzzzzz <Melzzzzz@zzzzz.com> - 2019-11-04 23:00 +0000
Re: Long winter evenings Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-11-06 04:58 -0800
csiph-web