Book description
The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, has reorganized, extended, and completely rewritten his definitive reference and tutorial for programmers who want to use C++ most effectively.
The C++ Programming Language, Fourth Edition, delivers meticulous, richly explained, and integrated coverage of the entire language—its facilities, abstraction mechanisms, standard libraries, and key design techniques. Throughout, Stroustrup presents concise, “pure C++11” examples, which have been carefully crafted to clarify both usage and program design. To promote deeper understanding, the author provides extensive cross-references, both within the book and to the ISO standard.
New C++11 coverage includes
Support for concurrency
Regular expressions, resource management pointers, random numbers, and improved containers
General and uniform initialization, simplified for-statements, move semantics, and Unicode support
Lambdas, general constant expressions, control over class defaults, variadic templates, template aliases, and user-defined literals
Compatibility issues
Topics addressed in this comprehensive book include
Basic facilities: type, object, scope, storage, computation fundamentals, and more
Modularity, as supported by namespaces, source files, and exception handling
C++ abstraction, including classes, class hierarchies, and templates in support of a synthesis of traditional programming, object-oriented programming, and generic programming
Standard Library: containers, algorithms, iterators, utilities, strings, stream I/O, locales, numerics, and more
The C++ basic memory model, in depth
This fourth edition makes C++11 thoroughly accessible to programmers moving from C++98 or other languages, while introducing insights and techniques that even cutting-edge C++11 programmers will find indispensable.
This book features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—noticeable by a small space inside the spine—also increases durability.
..
Table of contents
- Cover Page
- About This E-Book
- Title Page
- Copyright Page
- Contents
- Preface
- Preface to the Third Edition
- Preface to the Second Edition
- Preface to the First Edition
- Part I: Introduction
- Part II: Basic Facilities
-
Part III: Abstraction Mechanisms
- 16. Classes
- 17. Construction, Cleanup, Copy, and Move
- 18. Operator Overloading
- 19. Special Operators
- 20. Derived Classes
- 21. Class Hierarchies
- 22. Run-Time Type Information
- 23. Templates
- 24. Generic Programming
- 25. Specialization
- 26. Instantiation
- 27. Templates and Hierarchies
- 28. Metaprogramming
- 29. A Matrix Design
- Part IV: The Standard Library
- Index
- Preparation for Programming in the Real World
- Code Snippets
Product information
- Title: The C++ Programming Language, 4th Edition
- Author(s):
- Release date: May 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133522884
You might also like
book
Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards
Learn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the …
book
Programming: Principles and Practice Using C++, 2nd Edition
An Introduction to Programming by the Inventor of C++ Preparation for Programming in the Real World …
book
A Tour of C++, 2nd Edition
In Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide …
book
Programming: Principles and Practice Using C++, 3rd Edition
An Introduction to Programming by the Inventor of C++ Programming: Principles and Practice Using C++, Third …