Skip to Content
Programming: Principles and Practice Using C++, 3rd Edition
book

Programming: Principles and Practice Using C++, 3rd Edition

by Bjarne Stroustrup
April 2024
Beginner
656 pages
23h 19m
English
Addison-Wesley Professional
Content preview from Programming: Principles and Practice Using C++, 3rd Edition

Part III

Data and Algorithms

Part III focuses on the C++ standard library’s containers and algorithms framework (often referred to as the STL). It shows how containers (such as vector, list, and map) are implemented and used. In doing so, we introduce pointers, arrays, dynamic memory, exceptions, and templates. As part of that, we introduce the fundamental principles and techniques of generic programming. We also demonstrate the design and use of standard-library algorithms (such as sort, find, and inner_product).

Chapter 15: Vector and Free Store

Chapter 16: Arrays, Pointers, and References

Chapter 17: Essential Operations

Chapter 18: Templates and Exceptions

Chapter 19: Containers and Iterators

Chapter 20: Maps and Sets

Chapter 21: Algorithms ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming: Principles and Practice Using C++, 2nd Edition

Programming: Principles and Practice Using C++, 2nd Edition

Bjarne Stroustrup

Publisher Resources

ISBN: 9780138308667