Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Sort of trivial code challenge - may be interesting to you anyway Date: Wed, 04 Mar 2026 15:13:52 -0800 Organization: None to speak of Lines: 36 Message-ID: <87jyvrjihb.fsf@example.invalid> References: <10n80sc$3soe4$1@dont-email.me> <10o6vat$258sq$1@raubtier-asyl.eternal-september.org> <10o7438$2737q$2@dont-email.me> <10o92e1$2r6rf$1@raubtier-asyl.eternal-september.org> <10oacjs$3a3hc$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 04 Mar 2026 23:13:54 +0000 (UTC) Injection-Info: dont-email.me; posting-host="a132efd78a76e9218f6fcd00d1f9ddce"; logging-data="3518686"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/ylrA+rX3uXBBU+/5ve1s" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:sHfRvPaBRL2aKRmyINqll8JfU9M= sha1:Rsp6oNAN+Bvxh4LSFlO4Rwe+ztg= Xref: csiph.com comp.lang.c:396770 DFS writes: > On 3/4/2026 5:44 AM, Bonita Montero wrote: > > > > > Your first code compiled fine > > $ g++ rc-montero1.cpp -o rc > $ > > > but this one tossed out a lot of errors. > > > $ g++ rc-montero2.cpp -o rc > > rc-montero2.cpp:13:1: error: extended character   is not valid in an > identifier > 13 |     if( argc < 3 ) > | ^ [277 lines deleted] Apparently the code you compiled contained NO-BREAK-SPACE (U+00a0) characters, and your compiler didn't tolerate them. They have have been in the original source (and compiled with a compiler that accepts them), or they may have been introduced in the process of posting the code to Usenet. (I frankly don't care which.) You really really didn't need to post hundreds of lines of error messages to make that point -- especially since the code was C++ and should never have been posted to comp.lang.c in the first place. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */