Practical C++ Stl Programming: Real-world Applications With C++20 and C++23

Practical C++ Stl Programming: Real-world Applications With C++20 and C++23

English | 2024 | ISBN: 979-8868807732 | 500 Pages | PDF, EPUB | 11 MB

Learn how to use the classes, algorithms, and other programming constructs of C++ STL. This comprehensive and practical guide covers a broad range of STL programming topics and highlights numerous programming constructs from the C++20 and C++23 standards.

Mastering use of STL can be daunting for both new and experienced C++ programmers. It doesn’t help that the ISO C++ specification documents are meticulous and verbose. This book is organized to help you quickly understand C++ STL programming, focusing on the real-world aspects of its usage. Rather than spend time providing extensive explanations of the inner workings of STL, author Daniel Kusswurm judiciously explores these intricacies only when they advance the reader’s understanding of a particular topic.

This book is accompanied by over 100 source code examples, designed to accelerate learning by emphasizing practical use cases. It coincides with the C++20 and C++23 standards and works with any OS platform that supports these standards including Windows (Visual C++), Linux (GNU C++) and macOS (clang). After reading Practical C++ STL Programming, you’ll be able to exploit the computational capabilities of STL to implement a wide variety of software algorithms and solve unique programming challenges.

What You Will Learn

  • Explore STL capabilities, including how to generate formatted output, utilize sequence containers, apply utility classes, exploit smart pointers, manipulate associative containers, and exercise container adaptors.
  • Apply algorithms and iterators to perform a wide variety of container operations including sorts, searches, insertions, removals, and erasures.
  • Utilize ranges and range iterators, adaptors, views, compositions, projections, and factories.
  • Perform file and directory operations using STL’s file system classes.
  • Execute chronological calculations and formatting using the time classes.
  • Employ STL’s random number generation and distribution classes.
  • Implement numerical processing algorithms using STL’s std::valarray and std:complex classes.
  • Accelerate program performance using STL’s concurrency classes and algorithm execution policies.
Homepage