C++程序设计语言(特别版)

[美] Bjarne Stroustrup 贝尔实验室

出版时间

2002-07-01

ISBN

9787111102021

评分

★★★★★
书籍介绍
作为C++之父亲笔写成的权威之作,本书的价值不在于教你写出第一行代码,而在于重塑你对这门语言的认知方式。它系统梳理了标准C++的核心特性与设计哲学——从名字空间、模板、异常处理到标准库的容器、算法与迭代器,引导读者理解“如何用C++做设计”。多位读者的反馈印证了这一点:它被反复称为“C++进阶必读”,也有人直言“不好读、不适合零基础、会读到吐血”,建议“当手册翻、当字典查”。正因如此,它更适合已具备一定经验、渴望突破瓶颈的程序员,而非入门新手。书中对接口、依赖最小化、逻辑模块划分等设计原则的探讨,构成了它区别于一般教程的独特位置:这不仅是一本语言手册,更是一部关于如何系统、优雅地使用C++的设计指南。
作者简介
Bjarne Stroustrup是C++的设计师和最早的实现者,也是《C++程序设计语言》、《带标注的C++参考手册》和《C++语言的设计与演化》的作者。他从丹麦Aarhus大学和英国牛津大学毕业,现在是AT&T大规模程序设计研究部的负责人,AT&T特别成员,AT&T贝尔实验室特别成员,以及ACM特别成员。Stroustrup的研究兴趣包括分布式系统、操作系统、模拟、设计和程序设计。他也是Addison·Wesley的C++In-Depth系列书籍的编辑。
AI导读
核心看点
  • C++之父亲笔撰写,权威覆盖语言与标准库
  • 贯穿软件设计思想,详解STL优美设计原理
  • 每章附建议总结,指导写出高质量C++程序
读者共识
  • 高屋建瓴的经典之作,适合放在桌上常备
  • 阅读难度较大,初学者易感到吃力或劝退
  • 翻译质量一般,阅读时需克服语言障碍
精彩摘录
  • "[2.13.4]2.Whether all string literals are distinct (that is, are stored in nonoverlapping objects) is implementation-defined. The effect of attempting to modify a string literal is undefined."
  • "A namespace is a scope. Thus, "namespace" is a very fundamental and relatively simple conecpt. The larger a program is, the more useful namespaces are to express logical separations of its parts. Ordinary local scopes, global scopes, and classes are namespaces."
  • "Ideally, every entity in a program belongs to some recognizable logical unit("module").Therefore,every declaration in a nontrivial program should ideally be in some namespace named to indicate its logical role in the program. The expception is main(), which must be globa in order for the run-time en"
  • "It is often a good idea to keep local synonyms as local as possible to avoid confusion."
  • "The purpose of interfaces is to minimize dependencies between different parts of a program. Minimal interfaces lead to systems that are easier to understand, have better data hiding properties, are easier to modify, and complie faster."
  • "however,for most problems I face,this solution is also massive overkill."
  • "Decide which modules you want;partition the program so that data is hiden within modules."
  • "Over the years, the emphasis in the design of programs has shifted from the design of procedures and toward the organization of data. Among other things, this reflects an increase in program size. A set of related procedures with the data they manipulate is often called a module. The programming par"
目录
出版者的话
专家指导委员会
中文版序
译者序
序

显示全部
用户评论
看这翻译都让人懒得勘误了。。。
其实这本书不好读,不适合完全没有经验的人,会读到吐血的。拿来当手册翻吧。
当年从学校图书馆借了英文原版整整一年,还是没有看完。现在又看了一部分中文版,电脑里还保存pdf版。
高屋建瓴。。
我看的是影印版的,不过这本书翻译得也是不错的。另外,这是C++里面最为权威的,除了C++手册之外。
在学校图书馆看过
好早了
不知道谁的
c++路上不可缺少的一本书,这本书不仅仅是教你c++,更是教你如何“coding like c++”。 I simply like c++ as language for writing elegant and efficient code.
工具书
下载
收藏