C++ Primer Plus

Stephen Prata

出版时间

2011-10-18

ISBN

9780321776402

评分

★★★★★
书籍介绍
C++ Primer Plus, Sixth Edition New C++11 Coverage C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages. The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard. Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use. Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts. In C++ Primer Plus, you'll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning: * A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard * Complete, integrated discussion of both basic C language and additional C++ features* Clear guidance about when and why to use a feature* Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time* Hundreds of practical sample programs* Review questions and programming exercises at the end of each chapter to test your understanding* Coverage of generic C++ gives you the greatest possible flexibility* Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespacesTable of Contents 1: Getting Started with C++ 2: Setting Out to C++ 3: Dealing with Data 4: Compound Types 5: Loops and Relational Expressions 6: Branching Statements and Logical Operators 7: Functions: C++'s Programming Modules 8: Adventures in Functions 9: Memory Models and Namespaces 10: Objects and Classes 11: Working with Classes 12: Classes and Dynamic Memory Allocation 13: Class Inheritance 14: Reusing Code in C++ 15: Friends, Exceptions, and More 16: The string Class and the Standard Template Library 17: Input, Output, and Files 18: The New C++11 Standard A Number Bases B C++ Reserved Words C The ASCII Character Set D Operator Precedence E Other Operators F The stringTemplate Class G The Standard Template Library Methods and Functions H Selected Readings and Internet Resources I Converting to ISO Standard C++ J Answers to Chapter Reviews
AI导读
核心看点
  • C++11标准全面覆盖,内容详尽
  • 循序渐进讲解,适合零基础入门
  • 实例丰富,理论与实践紧密结合
适合谁读
  • 无编程经验的C++初学者
  • 其他语言转C++的开发者
  • 计算机专业在校学生
读前提醒
  • 强烈建议阅读英文原版
  • 中文版翻译质量较差易误导
  • 务必动手完成课后练习题
读者共识
  • 公认的最佳C++入门教材之一
  • 讲解细致透彻,人性化友好
  • 部分章节习题存在已知错误

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

精彩摘录
  • "不知道为什么,后者听起来更好一点。"
  • "另外,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 $"
用户评论
错误多;废话多
除了第16章看得我很难受,基本符合一个贴切的评论:用这本书自学可以全程断网。
不太适合想要快速上手的初学者吧。。。适合当个reference
ok
算是看完了这一本了(有些地方有些走马观花了)。中文版错误太多了。英文版看起来速度会慢一点但是更容易看得进去。
完成,收获挺大
这个OOP部分拌着design pattern读简直太爽
收藏