Accelerated C++中文版通过示例进行编程实践 - (美)Andrew Koenig,Barbara E. Moo

Accelerated C++中文版通过示例进行编程实践

(美)Andrew Koenig,Barbara E. Moo

出版时间

2012-06-30

ISBN

9787030341877

评分

★★★★★
书籍介绍

《Accelerated C++中文版通过示例进行编程实践》系统介绍C++程序设计,是美国斯坦福大学的经典教材。从使用C++标准库中的高级抽象开始,使读者很快掌握编程方法。每一章都有很经典独特的例子以及非常到位的讲解,覆盖了C++更多领域的内容,从标准库容器、泛型算法的使用,到类的设计、泛型算法的设计,《Accelerated C++中文版通过示例进行编程实践》都进行了详细的讲解。《Accelerated C++中文版通过示例进行编程实践》作者(克尼格)有丰富的C++开发、研究和教学经验,内容由浅入深,讲解精炼巧妙。无论是刚入门的新手还是有经验的C++开发人员都能从《Accelerated C++中文版通过示例进行编程实践》中受益。

"Andrew Koenig和Barbara E. Moo堪称C++研究领域的“第一神仙眷侣”,他们不光有着多年的C++开发、研究和教学经验,而且亲身参与了C++的演化和变革,是对C++的变化和发展起到重要影响的人。

Andrew Koenig,AT&T大规模程序研发部(前贝尔实验室)成员,同时也是C++标准委员会项目编辑。他有30多年编程经验,15年C++开发经验,已发表150多篇与C++有关的论文,应邀在世界各地多次演讲。曾编著C Traps and Pitfalls一书,并与妻子合著Ruminations on C++。

Barbara E. Moo,独立咨询顾问,在软件领域从业20多年。在AT&T工作的近15年中,参与了第一个使用C++编写商业产品的开发项目,负责管理公司第一个C++编译器项目,并成功指导开发了AT&T中屡获殊荣的WorldN...

(展开全部)

AI导读
核心看点
  • 斯坦福经典教材,通过示例快速掌握C++编程实践
  • 从标准库高级抽象入手,由浅入深讲解核心概念
  • 涵盖容器、泛型算法及类设计,讲解精炼巧妙
适合谁读
  • C++初学者,希望快速上手并建立编程思维
  • 有一定基础但需梳理知识体系、查漏补缺者
  • 偏好通过实例学习,厌倦大部头理论教材者
读前提醒
  • 中文版翻译质量参差不齐,建议结合原版阅读
  • 适合快速入门,非系统深入学习的终点站
  • 需配合练习代码,避免囫囵吞枣式阅读
读者共识
  • 公认的最佳C++入门书之一,比Primer更易懂
  • 通过实例教学,避免枯燥理论,实用性强
  • 部分读者认为知识体系跳跃,翻译有待改进

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "The int type is sufficient for rows because the number of rows depends only on the value of pad, which we control. Every C++ implementation is required to allow every int variable to take on values up to at least 32767, which is plenty. Nevertheless, whenever we define a variable that contains the s"
  • "C++ offers a way of saying that a particular name should always be interpreted as coming from a particular namespace. For example, by writing"
  • "we can say that we intend to use the name cout to mean std::cout exclusively, and that we do not intend to define anything named cout ourselves. Once we have done so, we can say cout instead of std::cout."
  • "Logically enough, such a declaration is called a using-declaration. The name that it mentions behaves similarly to other names. For example, if a using-declaration appears within braces, the name that it defines has its given meaning from where it is defined to the closing brace."
  • "By the same token, we do not bother to give an initial value to x, because the first thing we do with it is read into it, thereby obliterating any value we might have given it."
  • "Our goal is to write the final grade with three significant digits, which we do by using setprecision. Like endl, setprecision is a manipulator. It manipulates the stream by causing subsequent output on that stream to appear with the given number of significant digits. By writing setprecision(3), we"
  • "It is usually not worth the bother to use const references for parameters of simple built-in types, such as int or double. Such small objects are usually fast enough to copy that there's little, if any, overhead in passing them by value."
  • "Whenever we write a try statement, we must think carefully about side effects and when they occur. We must assume that anything between try and catch might throw an exception. If it does so, then any computation that would have been executed after the exception is skipped. What is important to reali"
作者简介
"Andrew Koenig和Barbara E. Moo堪称C++研究领域的“第一神仙眷侣”,他们不光有着多年的C++开发、研究和教学经验,而且亲身参与了C++的演化和变革,是对C++的变化和发展起到重要影响的人。 Andrew Koenig,AT&T大规模程序研发部(前贝尔实验室)成员,同时也是C++标准委员会项目编辑。他有30多年编程经验,15年C++开发经验,已发表150多篇与C++有关的论文,应邀在世界各地多次演讲。曾编著C Traps and Pitfalls一书,并与妻子合著Ruminations on C++。 Barbara E. Moo,独立咨询顾问,在软件领域从业20多年。在AT&T工作的近15年中,参与了第一个使用C++编写商业产品的开发项目,负责管理公司第一个C++编译器项目,并成功指导开发了AT&T中屡获殊荣的WorldNet Internet Service Business。曾参与编写Ruminations on C++一书,并在世界各地进行过多次演讲。"
目录
"第0章 开始1
0.1 注释1
0.2 #include指令2
0.3 主函数main2
0.4 花括号2

显示全部
用户评论
如果说学习语言跟学习开车是一样的话,那么这本书就是教你如何开车,而S神的书是教你车本身的原理
最佳
很不错的一本书, 先代码再讲概念, 重在用法. 虽然缺少深入, 本质的解读, 但是对一本这种厚度的书能做到这样已经很完美了.
C++入门经典,中文版太烂
又啰嗦讲的又不清楚的烂书
这本书真的太好了, 我也读过 <C++ primer> 这样的大部头, 而大部头的问题就是太细致了, 有些东西看过就忘了. 而这本书的精华就是 by example , 通过编写实际的程序来讲述一些概念. 同时这本书和现在很多 <xxx in action> 就是 example 的堆积不同, 书中的程序随着讲解的深入, 新概念的出现后也在不断的进化, 让我们不仅学到了新知识, 还知道知识的力量! 作为 C++ 学习的第一本书实在是太合适了, 唯一的遗憾就是比较古早, 所以没有 C++11 以后的内容了.
勉强读完了前13章,中文翻译真的不太好理解,有关句柄写的内容没太懂
书评写过啦~ww
Z-Library
收藏