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, 06 Jan 2021 23:07:01 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <86eeixql7u.fsf@linuxsc.com>
References: <86wnxwkyol.fsf@linuxsc.com> <864kjwrp0i.fsf@linuxsc.com> <86zh1nqx8r.fsf@linuxsc.com> <3a28797b-2b2b-4e44-9844-670134c374e9n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="c154dc4d172b443324888acc44505703"; logging-data="14982"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nG2xClfBbJhegzUXTGnqhSDRfHykIx9Q="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:ZOBapXhh4jL8qjiQO+ZK/SIqoXM= sha1:GLEfJ4V3isshHbmbTf7EXUtE4Vk=
Xref: csiph.com comp.lang.c:158245
Dave Dunfield writes:
>> As long as you understand what's going on, how to fix it
>> is up to you. Are you going to submit a revised program?
>> Other people have done that.
>
> Since you asked.. note that this fixes the A/**/B and also
> adds a warning message if it sees: \\nl
> It doesn't actually support \\nl yet which would require a few more
> lines/functions - and it's never been an issue for me, but I can look
> into adding that ability of people really want it.
I think most people who posted solutions addressed or at least
tried to address this situation. I don't know that anyone really
wants of these programs but it was intended as being part of the
original problem statement. Also part of what makes the problem
interesting.