C++ Primer Plus

Stephen Prata

出版社

Sams

出版时间

2004-11-25

ISBN

9780672326974

评分

★★★★★
书籍介绍
If you are new to C++ programming, C++ Primer Plus, Fifth Edition is a friendly and easy-to-use self-study guide. You will cover the latest and most useful language enhancements, the Standard Template Library and ways to streamline object-oriented programming with C++. This guide also illustrates how to handle input and output, make programs perform repetitive tasks, manipulate data, hide information, use functions and build flexible, easily modifiable programs. With the help of this book, you will: * Learn C++ programming from the ground up. * Learn through real-world, hands-on examples. * Experiment with concepts, including classes, inheritance, templates and exceptions. * Reinforce knowledge gained through end-of-chapter review questions and practice programming exercises. C++ Primer Plus, Fifth Edition makes learning and using important object-oriented programming concepts understandable. Choose this classic to learn the fundamentals and more of C++ programming.
AI导读
核心看点
  • 零基础友好,从C语言基础讲起,循序渐进引入C++核心概念。
  • 内容详尽且充满实例,通过大量练习帮助读者巩固编程技能。
  • 讲解清晰易懂,涵盖STL、面向对象等特性,适合系统学习。
适合谁读
  • 从未接触过编程或C语言的纯新手,寻求系统性入门指导。
  • 希望自学C++,偏好通过大量实例和练习来掌握知识的读者。
  • 需要一本详尽参考手册,用于查阅语法细节和常见问题的开发者。
读前提醒
  • 篇幅较长,建议配合课后习题动手实践,避免仅做理论阅读。
  • 中译本翻译质量参差不齐,建议有条件者阅读英文原版。
  • 可作为《C++ Primer》的前置读物,先Plus后Primer效果更佳。
读者共识
  • 公认的最佳C++入门教材之一,讲解细致,人性化程度高。
  • 虽被部分老手认为过于基础,但对初学者建立信心至关重要。
  • 适合与《C++ Primer》搭配使用,前者打基础,后者深理解。

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

精彩摘录
  • "不知道为什么,后者听起来更好一点。"
  • "另外,cout很聪明,知道carrots是一个需要转换的整数。"
  • "将变量声明和赋值分开,可能会带来瞬间悬而未决的问题: short year; //what could it be? year = 1492; //oh"
  • "Sam has 32767 dollars and Sue has 32767 dollars deposited. Add $1 to each account. Now Sam has -32768 dollars and Sue has 32768 dollars deposited. Poor Sam! Sam has 0 dollars and Sue has 0 dollars deposited. Take $1 from each account. Now Sam has -1 dollars and Sue has 65535 dollars deposited. Lucky"
  • "字符串提供了一种存储文本信息的便捷方式,如提供给用户的消息(“请告诉我您的瑞士银行帐号。”)或来自用户的响应(“您肯定在开玩笑。”)"
  • "如果要对两个值进行比较,看看哪个值更漂亮或者更幸运,则这里的操作符就排不上用场了。"
  • "verticalized和ASSCIIized并不是真正的单词,甚至将来也不会是单词。不过它们确实在输出中添加了一种“可爱”的氛围。"
  • "$ textin3 < stuff I am a UNIX file. I am proud to be a UNIX file. 49 characters read $"
下载
收藏