Modern C++ Programming Cookbook: Master Modern C++ with comprehensive solutions for C++23 and all previous standards

Paperback Published on: 29/02/2024
Price: £41.99
Free UK delivery on orders over £25
We can order this from the publisher
Usually dispatched within 3 weeks
Make and edit your lists in your account
No stock available in any shop.
We can order this from the publisher
Usually dispatched within 3 weeks
No stock available in any shop.

Synopsis

Meta Description: With a wealth of practical recipes, this third edition isn't just a guide to C++23; it's a complete resource covering key features and techniques from C++11 through to C++23. It's designed to keep you ahead of the curve in C++.

Key Features

Fully updated and packed with new recipes, including sync output streams, expected and mdspan, and C++20/23 range adaptors

Covers all significant features from all modern versions of the standard, providing comprehensive insights into modern C++

Learn through a series of hands-on, self-contained recipes

Purchase of the print or Kindle book includes a free eBook in PDF format

Book DescriptionThe updated third edition of Modern C++ Programming Cookbook 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 into practical recipes covering a wide range of real-world problems, helping you find the solutions you need quickly. You’ll find coverage of all the core concepts of modern C++ programming and features and techniques from C++11 through to C++23, meaning you’ll stay ahead of the curve by learning to incorporate the newest language and library improvements

Beyond the core concepts and new features, you’ll explore recipes related to performance and best practices, how to implement useful patterns and idioms, like pimpl, named parameter, attorney-client, and the factory pattern, and how to complete unit testing with the widely used C++ libraries: Boost.Test, Google Test, and Catch2

With the comprehensive coverage this C++ programming guide offers, by the end of the book you’ll have everything you need to build performant, scalable, and efficient applications in C++.What you will learn

Explore the new C++23 language and library features

Go deep into the most useful C++20 features

Learn to handle threading and concurrency for better performance

Solve complex string manipulation tasks efficiently with regex

Leverage the standard library for faster development

Master the file system library to work with files and directories

Work with different types of strings and understand compilation

See how you can use CRTP, mixins and other patterns in C++

Who this book is forThis book is designed for entry- and intermediate-level programmers who already have a foundational understanding of the C++ programming language, but who are looking to master the language, implement the newest features, and become proficient modern C++ developers. Experienced C++ programmers can leverage the recipes in this book to quickly get up to speed on all the most important language and library features of C++11/14/17/20 and 23.

Publisher information

  • Publisher: Packt Publishing Limited
  • ISBN: 9781835080542
  • Number of pages: 816
  • Dimensions: 235 x 191 mm
  • Languages: English

Customer Reviews