Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Programming exercise/challenge
Date: Wed, 09 Dec 2020 12:01:44 -0800
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <86h7ou4ul3.fsf@linuxsc.com>
References: <86wnxwkyol.fsf@linuxsc.com> <86sg8f43fb.fsf@linuxsc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="5eb73538a536c16dceb299f9d9a18884"; logging-data="4503"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Y2x/kNSR6xw3iFgXWcOGNWQYiyjnPFlk="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:09YBOQezZpYbD/aBy44weqL6OMM= sha1:DnLqX51UeBKzc0K0MYdZR24tW9A=
Xref: csiph.com comp.lang.c:157160
Tim Rentsch writes:
[...]
Status - list of posted programs I have seen and collected:
Anton Shepelev 2 versions
Bart 3 versions
Ben Bacarisse 2 versions
luser droog 3 versions
jacobnavia 3 versions
jfbode1029@gmail.com 1 version
Kaz Kylheku 3 versions
Malcolm McLean 2 versions
Collected programs were compiled and run as they were submitted,
except
* accidental line wrapping in several programs was undone
* void main( void ) => int main( void )
* a #include was added in one case
* a #include was added in one case
* a few programs wanted to read a file name from argv[1]
and wouldn't run without out one (the problem statement
said to read from stdin); those were modified to just
use stdin and not do the argc/argv test.