Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Program to output initials of a name Date: Mon, 26 Oct 2015 10:17:58 -0700 Organization: None to speak of Lines: 43 Message-ID: References: <3cd7df30-e7bc-4943-9762-f0f0a17fb3cf@googlegroups.com> <6b2fd7b2-0f00-40e8-80c0-b620cd15d0fe@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="12906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jktg07A1nvRK6VT5BCWon" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:DvkUbsIrKXFiIBoD75Zop5BctVc= sha1:lAfEo++gBVXxKjZCJmAp62A5dqw= Xref: csiph.com comp.lang.c:73878 Alla _ writes: > On Monday, October 26, 2015 at 2:38:25 PM UTC+4, Richard Heathfield wrote: [...] >> You would do well to spot this yourself, but if you're really stuck, >> scroll down past all the "spoiler space". >> >> >> Answer follows 100 spoiler warnings. >> >> Answer follows 99 spoiler warnings. [...] >> Answer follows 2 spoiler warnings. >> >> Answer follows 1 spoiler warning. >> >> Answer follows 0 spoiler warnings. >> >> = is the ASSIGNMENT operator. You wanted ==, the COMPARISON operator. [...] > Oh, no. Yet again. Same old mistake. I've > made it many times, talked to myself about it, > thought it's fixed, and ... voila - only one =, > instead of ==. It would be very helpful if you'd to trim quoted text when you post a followup. There's no need to quote *all* of the parent article; just quote enough so that your followup mekes sense. In particular, don't quote signatures (unless you're actually commenting on them). > What's interesting, my compiler didn't even > bother itself to warn me this time, and > compiled the program. It's likely there's a way to coax your compiler to produce more warnings. [...] -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"