News for hackers. Stuff that matters.
Re:For loops help - comp.lang.c by mseebach on Wednesday May 12, 2010 @08:26AM (#1340742)
The way he presents the problem gives no point of reference for a nice person to say "oh, I see where you misunderstood what foo does" and make it a learning experience. He could, for example, have included one of the several some-what working attempts.

The only "good" answers to such a request are a: here's the code and b: lesson one, here's how a for-loop works. Since his textbook doesn't help, option b doesn't seem viable.

Rude, lazy, it's a fine line, I suppose. Being lazy in front of strangers you're asking for help is perhaps not rude, but doesn't exactly scream for a super-constructive response.

Re:For loops help - comp.lang.c by stralep on Wednesday May 12, 2010 @09:47AM (#1340911)
His "C: The Complete Reference" textbook?

http://news.ycombinator.com/item?id=1339884

:)

Re:For loops help - comp.lang.c by Silhouette on Wednesday May 12, 2010 @10:52AM (#1341070)
Ah, yes. Another little piece of comp.lang.* lore: the expression "Bullschildt" was not invented for nothing.

See also his annotated version of the official C standard, which at the time it was published contained not only Schildt's comments but also the complete text of the standard itself. The standard was available from the international standards bodies for a small fortune, yet the annotated version was available in bookshops for a modest fraction of the cost. It was widely speculated that the difference in price reflected the value added by Schildt's comments.