Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #123678
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: What platform is targeted in the C books? |
| Date | 2017-12-01 08:58 -0800 |
| Organization | None to speak of |
| Message-ID | <ln7eu6xu5i.fsf@kst-u.example.com> (permalink) |
| References | <5a1a4985$0$1751$b1db1813$764c84@news.astraweb.com> <a096952e-03a9-4aab-8b2b-3fecb5a5a05a@googlegroups.com> |
John Bode <jfbode1029@gmail.com> writes:
> On Saturday, November 25, 2017 at 10:56:56 PM UTC-6, Elof Huang wrote:
>> I know there are lots of good c programing books, but don't know if the
>> codes showed on the books are suitable for all platform? Windows? Linux?
>> BSD?
> Books by K&R, Harbison & Steele, Deitel & Deitel, and King should
> be platform-agnostic - their examples shouldn't require the
> presence of platform-specific headers or system calls, and their
> examples should work anywhere you have a (conforming) C compiler.
> Note that this means all their examples are command-line driven,
> so they *do* assume you have some kind of command-line shell
> available (bash, CMD, etc.).
> There *are* books that target specific environments (such as
> how to do multi-threaded programming on Windows, or networking
> code on *nix, or GUI programming on Macs), but general-purpose
> C language references, as a rule, don't.
I'll note that K&R (both editions) has a section that covers the UNIX
system interface, but it's reasonably well separated from the rest of
the book.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
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"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
What platform is targeted in the C books? Elof Huang <elof.huang@runbox.com> - 2017-11-26 12:56 +0800
Re: What platform is targeted in the C books? Elof Huang <elof.huang@runbox.com> - 2017-11-26 13:20 +0800
Re: What platform is targeted in the C books? Elof Huang <elof.huang@runbox.com> - 2017-11-26 13:44 +0800
Re: What platform is targeted in the C books? John Bode <jfbode1029@gmail.com> - 2017-12-01 07:15 -0800
Re: What platform is targeted in the C books? Keith Thompson <kst-u@mib.org> - 2017-12-01 08:58 -0800
Re: What platform is targeted in the C books? Real Troll <real.troll@trolls.com> - 2017-12-01 11:40 -0400
Re: What platform is targeted in the C books? Manfred <noname@invalid.add> - 2017-12-02 16:07 +0100
Re: What platform is targeted in the C books? gazelle@shell.xmission.com (Kenny McCormack) - 2017-12-02 23:29 +0000
Re: What platform is targeted in the C books? Manfred <noname@invalid.add> - 2017-12-03 18:24 +0100
Re: What platform is targeted in the C books? supercat@casperkitty.com - 2017-12-05 12:32 -0800
Re: What platform is targeted in the C books? guinness.tony@gmail.com - 2017-12-05 16:40 -0800
Re: What platform is targeted in the C books? supercat@casperkitty.com - 2017-12-06 13:09 -0800
Re: What platform is targeted in the C books? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-12-04 01:26 +0800
csiph-web