Book description
Write Powerful, Modern C++ Code for Scientific, Engineering, and Embedded Applications
Discovering Modern C++, Second Edition, will help you master valuable skills for programming with C++ at nearly every level, from "close to the hardware" to high-level abstractions.
Updated for C++17 and C++ 20, this intensive introduction teaches C++ using realistic examples from diverse technical problem domains. Drawing on extensive experience teaching C++ to physicists, mathematicians, engineers, and students, Peter Gottschling guides you smoothly to sophisticated approaches based on advanced features.
Whatever your programming experience, you'll rapidly master increasingly powerful features, from lambdas to expression and variadic templates. Gottschling also shows you how to apply C++'s libraries: both the Standard Template Library (STL) and scientific libraries for arithmetic, linear algebra, differential equations, and graphs. Step by step, you'll learn to write clear and expressive code using object orientation, generics, metaprogramming, and procedural techniques, and master all the abstractions you need to write high-quality, well-performing software.
Quickly master core features: variables, operators, expressions, statements, functions, error handling, I/O, arrays, pointers, references, and more
Make the most of classes and object-oriented programming, from constructors/destructors to operator overloading and multiple inheritance
Apply advanced generic programming and template-based techniques
Use C++s libraries to write more robust and powerful code more quickly
Explore metaprogramming in depth, and master cutting-edge optimization techniques
Walk through representative scientific projects, and create your own
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface
- Pearson’s Commitment to Diversity, Equity, and Inclusion
- Acknowledgments
- About the Author
- Chapter 1. C++ Basics
- Chapter 2. Classes
- Chapter 3. Generic Programming
- Chapter 4. Libraries
- Chapter 5. Meta-Programming
- Chapter 6. Object-Oriented Programming
- Chapter 7. Scientific Projects
- Appendix A: Clumsy Stuff
- Appendix B: Programming Tools
- Appendix C: Language Definitions
- Bibliography
- Subject Index
- Code Snippets
Product information
- Title: Discovering Modern C++, 2nd Edition
- Author(s):
- Release date: December 2021
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780136798477
You might also like
book
Modern C++ Programming with Test-Driven Development
If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development …
book
Effective Modern C++
Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with …
book
Effective C++, Third Edition
“Every C++ professional needs a copy of Effective C++. It is an absolute must-read for anyone …
book
The C++ Programming Language, 4th Edition
The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to …