Sams Teach Yourself C++ in 21 Days (7th Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 没有任何编程基础、想系统自学 C++ 的初学者
- 学过 C 语言,想转向面向对象与 STL 的读者
- 需要一本可作教材的高校 C++ 课程师生
- 想快速了解 C++11 新特性(lambda、智能指针等)的在职程序员
Not a good fit for
- 已有多年 C++ 经验、想深入模板元编程与性能优化的资深开发者
- 只想要速查手册、不愿做章末练习的读者
- 期待覆盖 C++14/17/20 最新标准的读者,本书内容止于 C++11
Reading tips
- 按章节顺序每天读一到两章,先读完示例代码再自己重敲一遍,不要只浏览。
- 每章末尾的测验与练习务必动手做,做完再对附录 D,错题回到对应小节重读。
- 第15—25 章 STL 部分是全书重点,建议边读边用 vector、map、算法写一个小的练习项目。
- 读完本书后可接《C++ Primer》或《Effective C++》,补足语言细节与工程实践。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Introduction
- Chapter 2 The Parts of a C++ Program
- Chapter 3 Using Variables and Constants
- Chapter 4 Managing Arrays and Strings
- Chapter 5 Using Expressions, Statements, and Operators
- Chapter 6 Controlling Program Flow
- Chapter 7 Organizing Code with Functions
- Chapter 8 Explaining Pointers and References
- Chapter 9 Classes and Objects
- Chapter 10 Implementing Inheritance
- Chapter 11 Polymorphism
- Chapter 12 Operator Types and Operator Overloading
- Chapter 13 Type-Conversion Operators
- Chapter 14 A Brief Introduction to Macros and Templates
- Chapter 15 Introduction to the Standard Template Library
- Chapter 16 The STL string Class
- Chapter 17 The STL Dynamic Array Class
- Chapter 18 STL list and forward_list
- Chapter 19 STL Set Classes
- Chapter 20 STL Map Classes
- Chapter 21 Understanding Function Objects
- Chapter 22 C++ Lambda Expressions
- Chapter 23 STL Algorithms
- Chapter 24 Adaptive Containers: Stacks and Queues
- Chapter 25 Using STL Bit Flags
- Chapter 26 Understanding Smart Pointers
- Chapter 27 Input and Output with Streams
- Chapter 28 Exception Handling
- Chapter 29 Moving On
- Appendix A Binary and Hexadecimal
- Appendix B C++ Keywords
- Appendix C Operator Precedence
- Appendix D Answers
- Appendix E ASCII Codes
FAQ
这本书需要先学 C 语言吗?
第7版和其他版本有什么区别?
“21天学通”是真的 21 天能学会吗?
书里的代码能在什么环境编译?
这本书的豆瓣评分是多少?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.