Modern C++ Programming Cookbook, Third Edition
eBook Details:
- Paperback: 816 pages
- Publisher: WOW! eBook; 3rd edition (February 29, 2024)
- Language: English
- ISBN-10: 1835080545
- ISBN-13: 978-1835080542
eBook Description:
Modern C++ Programming Cookbook, 3rd Edition: Master modern C++ including the latest features of C++23 with 140+ practical recipes. Packed with practical recipes, explore the latest advancements in C++, optimize performance, and gain insights into essential techniques though this comprehensive guide.
The updated Modern C++ Programming Cookbook, Third Edition addresses the latest features of C++23, such as the stack library, the expected and mdspan types, span buffers, formatting library improvements, and updates to the ranges library. It also gets into more C++20 topics not previously covered, such as sync output streams and source_location. The book is organized in the form of practical recipes covering a wide range of real-world problems.
It gets into the details of all the core concepts of modern C++ programming, such as functions and classes, iterators and algorithms, streams and the file system, threading and concurrency, smart pointers and move semantics, and many others. You will cover the performance aspects of programming in depth, and learn to write fast and lean code with the help of best practices.
It explores useful patterns and the implementation of many idioms, including pimpl, named parameter, attorney-client, and the factory pattern. A chapter dedicated to unit testing introduces you to three of the most widely used libraries for C++: Boost.Test, Google Test, and Catch2.
- Explore the new C++23 language and library features
- Become skilled at using the standard support for threading and concurrency for daily tasks
- Leverage the standard library and work with containers, algorithms, and iterators
- Solve text searching and replacement problems using regular expressions
- Work with different types of strings and learn the various aspects of compilation
- Take advantage of the file system library to work with files and directories
- Implement various useful patterns and idioms
- Explore the widely used testing frameworks for C++
By the end of this Modern C++ Programming Cookbook, 3rd Edition, you will be able to effectively leverage the features and techniques of C++11/14/17/20/23 programming to enhance the performance, scalability, and efficiency of your applications.