
C 语言参考手册
C, a reference manual
Samuel P. Harbison、Guy L. Steele Jr. · 初版 1984 年
31人推荐
41位读者提及
44次提及
为什么值得读
- 比K&R更详尽现代的语言参考
- 几乎能解答编写C时遇到的绝大多数疑问
- 内容精炼扎实,非常适合手头随时查阅
这本畅销且权威的参考手册完整介绍了 C 语言、run-time 库,以及一种强调正确性、可移植性和可维护性的 C 编程风格。作者 Samuel P. Harbison 和 Guy L. Steele Jr. 比其他任何书籍都更清晰、详尽地阐释了 C 语言,并在同一本手册中提供了:Standard C——现已获得所有现代 C 编译器支持的 ANSI/ISO 标准;Traditional C——历经二十年的通行实践,每日有数百万行代码在使用,以及完整的 Standard 与 Traditional C run-time 库...
Hacker News 上怎么说
正在加载完整评论……
……更多关于 CS 核心概念的内容。写得极好。一定要做习题。会花不少时间,但务必把习题做了。至于 C 语言,去买克尼汉和里奇(Kernighan and Ritchie,即 "K&R")写的《ANSI C 程序设计语言》。哈比森(Harbison)的《C 语言参考手册》(C: A Reference Manual)是一本很好的参考书。如果你用 C 语言做实际开发,可能会发现 Lua 很有用——它是一个 C 库,为 C 项目提供开箱即用的脚本语言支持。它本身也是一门很漂亮的语言,简单……
…more about major concepts in CS. It's excellent. Do the exercises. It will take a while, but do the exercises. For C, get _The ANSI C Programming Language_ by Kernighan and Ritchie ("K&R"). Harbison's _C: A Reference Manual_ is a good reference. If you do real work in C, you might find Lua helpful - it's a C library that provides a drop-in scripting language for C projects. It's a also nice language in its own right, simple…
……指针),顺便快速翻翻标准库(跟 Java 甚至 C++ 比起来,C 的标准库非常小),这样你就基本掌握大半了。除了 K&R 之外,我听说斯蒂尔和哈比森的《C 语言参考手册》非常棒,不过我自己还没读过。
…pointers), and you should skim through the standard library (which is tiny compared to Java, or even C++), and you're most of the way there. In addition to K&R, I've hears that Steele and Harbison's "C: A Reference Manual" is very good, although I haven't read it personally.
……K&R 那本书。此外,我发现如果你走工程实用路线,Johnsonbaugh & Kalin 写的《ANSI C 应用程序设计》对我来说是非常宝贵的学习工具。手头绝不能少了哈比森与斯蒂尔的《C 语言参考手册》,对我而言,如果手头没有或者不想去翻网上资料,这本书就是带在身上最管用的参考书。至于汇编语言,我主要参考的是……
…K&R book. In addition, I've found if you're taking an engineering approach, "Applications Programming in ANSI C" by Johnsonbaugh & Kalin was to me a very valuable learning tool. Do not go without the "C: A Reference Manual" by Harbison & Steele, which to me has been the most valuable reference book to have on my person if I couldn't get or chose not to fancy a good Internet reference. For Assembly, my coverage has been…
……一本阴暗得多、有些散漫但探讨了“恶”的巨著。两部风格迥异,但都是好书。非虚构方面,我今年用得最多的书是一本老经典——哈比森和斯蒂尔的《C 语言参考手册》。这本书太实用了(如果你写 C 的话)。我真不明白怎么会有人更偏爱克尼汉和里奇的那本……
…a much darker, somewhat rambling tome that addresses "evil". they're very different, but both great books. for non-fiction the book i've used most this year is an old classic - harbison & steele's "c a reference manual". it's invaluable (if you're writing c). i don't know how people can prefer kernighan & ritchie...
学习 C 语言,我强烈推荐《C 语言参考手册》(哈比森和斯蒂尔著),而不是 K&R。读 K&R 了解时代背景当然没问题,但哈比森和斯蒂尔的书内容更新、更全面,同时依然保持了简明扼要的语言参考风格。那本书基本能解答几乎……
For learning C I strongly recommend C: A Reference Manual (Harbison and Steele), not K&R. Read K&R for context, sure, but Harbison and Steele is more up-to-date and comprehensive while still a concise language reference. That book can basically answer almost…
……哪怕在相同的架构上,也不能保证在不同的编译器之间具备可移植性。在哈比森和斯蒂尔编写的《C 语言参考手册》第6章中,对哪些能指望、哪些不能指望有着非常清晰的解释。
…cases are not guaranteed to be portable across different compilers even on the same architecture. There is a good explanation of what you can and cannot count on in chapter 6 of Harbison and Steele's C A Reference Manual.