- 54%

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

Original price was: €55.Current price is: €26.

Already Sold: 65%
Added to wishlistRemoved from wishlist 0
Add to compare

Price: $54.99 - $25.55
(as of Oct 01, 2025 02:17:18 UTC – Details)

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 FeaturesFully updated and packed with new recipes, including sync output streams, expected and mdspan, and C++20/23 range adaptorsCovers 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 recipesPurchase of the print or Kindle book includes a free eBook in PDF formatBook Description

The 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 learnExplore the new C++23 language and library featuresGo deep into the most useful C++20 featuresLearn to handle threading and concurrency for better performanceSolve complex string manipulation tasks efficiently with regexLeverage the standard library for faster developmentMaster the file system library to work with files and directoriesWork with different types of strings and understand compilationSee how you can use CRTP, mixins and other patterns in C++Who this book is for

This 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.

Table of ContentsLearning Modern Core Language FeaturesWorking with Numbers and StringsExploring FunctionsPreprocessing and CompilationStandard Library Containers, Algorithms, and IteratorsGeneral-Purpose UtilitiesWorking with Files and Streams Leveraging Threading and Concurrency Robustness and PerformanceImplementing Patterns and IdiomsExploring Testing FrameworksC++23 Features

From the brand

Brand story Packt booksBrand story Packt books

See Our Full Range

Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.

Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.

We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.

Publisher ‏ : ‎ Packt Publishing
Publication date ‏ : ‎ February 29, 2024
Edition ‏ : ‎ 3rd ed.
Language ‏ : ‎ English
Print length ‏ : ‎ 816 pages
ISBN-10 ‏ : ‎ 1835080545
ISBN-13 ‏ : ‎ 978-1835080542
Item Weight ‏ : ‎ 3.03 pounds
Dimensions ‏ : ‎ 7.5 x 1.84 x 9.25 inches
Best Sellers Rank: #257,786 in Books (See Top 100 in Books) #49 in C++ Programming Language #125 in Computer Programming Languages #210 in Software Development (Books)
Customer Reviews: 4.4 4.4 out of 5 stars 29 ratings var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });

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

0.0 out of 5
0
0
0
0
0
Write a review
Show all Most Helpful Highest Rating Lowest Rating
  1. Aleksei

    Cookbook
    A good book for learn C++

    Helpful(0) Unhelpful(0)You have already voted this
  2. Allen Wyma

    Great Resource for C++ Developers
    I picked this up because I needed to work with a c++ codebase. I picked up some good tricks while I was working my way through the codebase that I needed to update. I highly recommend this resource for c++ developers who want to learn some new tricks and maybe even refresh themselves with modern techniques in c++.

    Helpful(0) Unhelpful(0)You have already voted this
  3. Justin Horner

    A Great Reference for What’s New in Modern C++
    This book is a great opportunity for someone like me who’s been writing C-Style-C++ the same way for years to catch up with what’s new in more modern versions of the language. I should note that this is not an introduction to C++. It’s written with those already familiar with C++ in mind.I’m a fan of these cookbooks because they are very practical and make for great reference books, and this is no exception. You’ll find a combination of recipes and detailed explanations that make the material suitable for all C++ developers.I encourage you to check the table of contents to see the breadth of topics covered, but as a summary, it covers core language features, improvements to the STL, general-purpose utilities, concurrency, testing, and much more.Overall, I really enjoyed this journey discovering what I’ve missed in modern C++ and recommend it if you’re looking to do the same.

    Helpful(0) Unhelpful(0)You have already voted this
  4. Lem’s Kindle

    Meticulously crafted guide that bridges theoretical knowledge with practical application
    Marius Bancila’s “Modern C++ Programming Cookbook, Third Edition,” published by Packt Publishing in February 2024, caters to entry- to medium-level C++ developers seeking to refine their skills in modern C++. Boasting over 140 practical recipes, this book provides an in-depth exploration of contemporary C++ features and standard libraries, establishing itself as a critical tool for aspiring proficient modern C++ developers. Bancila, with his vast experience and eagerness to impart knowledge, offers priceless insights in this thorough guide.The cookbook unfolds across 12 chapters, each packed with recipes that span from foundational language syntax to sophisticated features and libraries. Adopting a systematic format, each recipe begins with a “Getting Ready” section to lay the groundwork, followed by “How to do it” with step-by-step instructions, “How it works” to demystify the underlying principles, and “See also” for further resources and related discussions. This structured methodology not only provides practical solutions but also deepens the reader’s comprehension of modern C++ principles and applications.The comprehensive coverage extends to modern core language elements, practical applications like handling numbers and strings, and advanced topics such as concurrency and robustness, including the latest C++20 core features. Despite its extensive scope, the book maintains accessibility through the ‘introduce, present, and describe’ method, effectively simplifying complex concepts. This approach, coupled with real-world applications for each recipe, ensures the content is both understandable and applicable, enriching the learning experience and facilitating the integration of these concepts into practical scenarios.However, it’s noteworthy that specific areas such as graphics programming, network programming, or integration with other languages and technologies are not covered. This focus allows for a more concentrated exploration of core modern C++ features and practices.The “See Also” sections further enhance the learning journey by offering additional insights and connecting to related recipes throughout the book, encouraging readers to explore topics of interest in a non-linear manner. In an age where digital resources are readily available, this book distinguishes itself by providing a dependable, offline resource of human-curated and tested scripts, confirming its status as a reliable resource amidst the occasional inaccuracies of AI-generated content.In summary, “Modern C++ Programming Cookbook, Third Edition” by Marius Bancila is a meticulously crafted guide that skillfully bridges theoretical knowledge with practical application in modern C++ development. It stands as an indispensable resource for developers striving to navigate the complexities of modern C++ with assurance and proficiency, deserving a rating of 4.5 out of 5 for its comprehensiveness, practicality, and reliability as both a learning tool and reference in the field of modern C++ development.

    Helpful(0) Unhelpful(0)You have already voted this
  5. ChrisR.

    This book is a true cookbook of the old style technical cookbook.
    [Full Disclosure: I was given an “Early Review Copy” of “Modern C++ Programming Cookbook, Third Edition, (c)2024” by the publisher for review. I will not let this bias my review. This is NOT a “bought and paid for review”. I am a technical stickler for accuracy and integrity. Other books that I have been given to review that I found major flaws with, I refused to publish any review of.]This book is a true cookbook of the old style technical books. It is a good survey of the C++ language and features with lots of examples of features and how to use each of them. The “Book Description:” on the Amazon page is very accurate to what you will find in the content of the book.I did not have the time to verify all 150+ sections spread across 10 chapters and 773 pages but what I read I mostly liked. Each section covers a language or library feature that is broken down by: “Getting ready”, “How to do it…”, “How it works…”, “There more…”and “See Also”. Most of the examples included reasonable explanations that should be able to be understood by most, but it is not a novice book.This book is not one you would sit down and read cover to cover but some later ideas build on earlier ideas. It is a good book for getting ideas for implementation techniques. It would also be good for thumbing through to expose you to features that you didn’t know existed. Or as a good reference for looking up a feature when you need a working example.It does not cover absolutely every C++ language and library feature but does hit a good cross section of features up to and include C++23 (the latest do date). It also covers several third party testing mechanisms. These examples and sections are a good source for learning by example. I do not believe in learning by copy/paste. The examples should give you a reasonable understanding of how to use these features but are not for copying/pasting to do your work for you.I did not disagree with any specific example but I wish there were warnings or caveats of how a feature might be used incorrectly or touched on a philosophy of when and why to use a feature or not, especially older features that are easily misused or can easily introduce bugs like raw pointers. Not every feature is appropriate in every case. Just because you can doesn’t mean you should.I kind of wish this book gave more of a big picture design philosophy rather than just a ‘how to’ use a feature. But that would be a different book.

    Helpful(0) Unhelpful(0)You have already voted this

    Add a review

    Your email address will not be published. Required fields are marked *

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

    Original price was: €55.Current price is: €26.

    techbazar.tech
    Logo
    Compare items
    • Total (0)
    Compare
    0
    Shopping cart