

Buy anything from 5,000+ international stores. One checkout price. No surprise fees. Join 2M+ shoppers on Desertcart.
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Italy.
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 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 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 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 Contents Learning Modern Core Language Features Working with Numbers and Strings Exploring Functions Preprocessing and Compilation Standard Library Containers, Algorithms, and Iterators General-Purpose Utilities Working with Files and Streams Leveraging Threading and Concurrency Robustness and Performance Implementing Patterns and Idioms Exploring Testing Frameworks C++23 Features Review: Value and content - Great value for money with an ebook as well. Meets my needs to brush up on C++ 23 Review: Useful for C++ Programmers of any level - Depending upon your point of view, this could be 3-stars or 4-stars. I give it four, but with a caveat: I generally don't trust books from Packt. The first issue is what they consider "Modern" in this time of 3-year cycles in the standard. Even the generally leading-edge tools such as CLion or VS Code barely support C++23 and there are points of view that tend to dislike the pace of change. The second is prior experience with large programs. My business is almost exclusively with large programs that may have many -- perhaps millions -- of lines of code written over a decade or two. The strengths of the book are its organization and the common format it uses. This makes it very approachable which is a very good thing. The author and publisher seem to have worked hard in presenting the recipes with appropriate amounts of background. The consistency in presentation serves readers of a range of experience levels well. By staying with the recipe format, the mystery of new language features or old ones you've not used in some years is minimized. You can get things done! Just like the cookies I bake during the holidays, these are tasty and even if they don't come out quite right, you can use them to understand and grow. Four stars.







| Best Sellers Rank | #66,833 in Books ( See Top 100 in Books ) #5 in C++ Programming Language #14 in Computer Programming Languages #32 in Software Development (Books) |
| Customer Reviews | 4.6 out of 5 stars 39 Reviews |
D**K
Value and content
Great value for money with an ebook as well. Meets my needs to brush up on C++ 23
T**E
Useful for C++ Programmers of any level
Depending upon your point of view, this could be 3-stars or 4-stars. I give it four, but with a caveat: I generally don't trust books from Packt. The first issue is what they consider "Modern" in this time of 3-year cycles in the standard. Even the generally leading-edge tools such as CLion or VS Code barely support C++23 and there are points of view that tend to dislike the pace of change. The second is prior experience with large programs. My business is almost exclusively with large programs that may have many -- perhaps millions -- of lines of code written over a decade or two. The strengths of the book are its organization and the common format it uses. This makes it very approachable which is a very good thing. The author and publisher seem to have worked hard in presenting the recipes with appropriate amounts of background. The consistency in presentation serves readers of a range of experience levels well. By staying with the recipe format, the mystery of new language features or old ones you've not used in some years is minimized. You can get things done! Just like the cookies I bake during the holidays, these are tasty and even if they don't come out quite right, you can use them to understand and grow. Four stars.
J**P
Excellent book for C++ devs
Really gets down to the fundamental C++ concepts that developers should know, especially for quant. Highly recommended
A**I
Cookbook
A good book for learn C++
A**A
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++.
C**.
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.
L**E
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.
A**I
Cookbook is a perfect name, tons of code examples.
I think the first thing that you need to think about when you're buying this book is the name - Modern C++ Programming Cookbook. That's exactly what it is, it's full of "recipes" explain and show how to use a specific feature of C++. Would you buy a cookbook to read cover to cover? Well, maybe, but probably not right? If you're aware of that going in, this is a great reference. Very beginner friendly as it covers things as basic as vectors, range based for loops, and auto. But it also covers more complex features like variant, optional, and span. There are chapters on threading, patterns, and testing frameworks, and even a section dedicated to C++20 modules. Again, this is a cookbook, so as others have stated, the format is pretty consistent in the following order for each topic: "Getting ready", "How to do it...", "How it works...", "There's more...", and "See also". This is repeated for basically every topic. This isn't necessarily a bad thing, this is a cookbook after all. The book has a good index, use it, find the information you need, apply it, and move onto the next topic. If a cookbook for C++ is what you're after, this is it.
Trustpilot
3 weeks ago
2 months ago