购买选项
Kindle电子书价格: | ¥292.11 |

下载免费的 Kindle 阅读软件,即可立即在智能手机、平板电脑或电脑上阅读 Kindle 电子书 - 无需 Kindle 设备。了解更多信息
使用手机摄像头 - 扫描以下代码并下载 Kindle 阅读软件。

![“Modern C++ Programming Cookbook: Master C++ core language and standard library features, with over 100 recipes, updated to C++20, 2nd Edition (English Edition)”,作者:[Marius Bancila]](https://images-cn.ssl-images-amazon.cn/images/I/51IhvJm+cyL._SX260_.jpg)
Modern C++ Programming Cookbook: Master C++ core language and standard library features, with over 100 recipes, updated to C++20, 2nd Edition (English Edition) 2第二 版本, Kindle电子书
A pragmatic recipe book for acquiring a comprehensive understanding of the complexities and core fundamentals of C++ programming
Key Features
- Explore the latest language and library features of C++20 such as modules, coroutines, concepts, and ranges
- Shed new light on the core concepts in C++ programming, including functions, algorithms, threading, and concurrency, through practical self-contained recipes
- Leverage C++ features like smart pointers, move semantics, constexpr, and more for increased robustness and performance
Book Description
C++ has come a long way to be one of the most widely used general-purpose languages that is fast, efficient, and high-performance at its core.
The updated second edition of Modern C++ Programming Cookbook addresses the latest features of C++20, such as modules, concepts, coroutines, and the many additions to the standard library, including ranges and text formatting. The book is organized in the form of practical recipes covering a wide range of problems faced by modern developers.
The book also delves into the details of all the core concepts in 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. It goes into the performance aspects of programming in depth, teaching developers how to write fast and lean code with the help of best practices.
Furthermore, the book explores useful patterns and delves into the implementation of many idioms, including pimpl, named parameter, and attorney-client, teaching techniques such as avoiding repetition with the factory pattern. There is also a chapter dedicated to unit testing, where you are introduced to three of the most widely used libraries for C++: Boost.Test, Google Test, and Catch2.
By the end of the book, you will be able to effectively leverage the features and techniques of C++11/14/17/20 programming to enhance the performance, scalability, and efficiency of your applications.
What you will learn
- Understand the new C++20 language and library features and the problems they solve
- 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++
Who this book is for
The book is designed for entry- or medium-level C++ programmers who have a basic knowledge of C++ and want to master the language and become prolific modern C++ developers. Experienced C++ programmers can leverage this book to strengthen their command of C++ and find a good reference to many language and library features of C++11/14/17/20.
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++20 Core Features
基本信息
- ASIN : B08GM9KKMR
- 出版社 : Packt Publishing; 第 2nd 版 (2020年9月11日)
- 出版日期 : 2020年9月11日
- 语言 : 英语
- 文件大小 : 3189 KB
- 标准语音朗读 : 已启用
- X-Ray : 未启用
- 生词提示功能 : 未启用
- 纸书页数 : 1141页
- 亚马逊热销商品排名: 商品里排第100,999名Kindle商店 (查看商品销售排行榜Kindle商店)
- 商品里排第41名Programming & Development(编程与开发)
- 商品里排第50名Data & Databases(数据及数据库)
- 用户评分:
无顾客评论
5 星 (0%) |
|
0% |
4 星 (0%) |
|
0% |
3 星 (0%) |
|
0% |
2 星 (0%) |
|
0% |
1 星 (0%) |
|
0% |
此商品在美国亚马逊上最有用的商品评论

I now recognize that with "Cookbook" in its title, that my expecting it to also cover everything in C++ was expecting too much. I was also put off by the "feel" of this $50 book- the paper is thick and rough and fluffs this ~800 page book out so that it's thicker than Pro C++'s ~1,300 pages! And the content on each page uses large fonts and line spacing so that Pro C++ probably gets 50% more info on each page. I really don't like seeing this kind of thing being done to try to convince me that this is a really worth $50. It makes me also wonder about the content, but it sounds from other reviews that it is actually a good "cookbook".
I was


Marius Bancila proves himself a great writer for C++ books. This one, titled as a cookbook, is actually a serious one - by serious, I meant there is no folky jokes, or those laborious "head-start" lines of words just to make things lighter yet tedious. This is a well-written, concise (but not meager), to-the-point, and yet you must take the time to "chew" before coming to realize how "tasteful" it is. For different features of the the modern C++, he provides good references to the evolution and when they were adopted or merged into the language. He also provides well-articulated explanation of different language features from C++/11 to C++/20. With 700 pages, it is a cookbook style, but more than a cookbook.
Not a book for beginners - you have to have at least some intermediate level C++ experience to fully appreciate the book. Neither a book for those who are used to the "lighter" writing styles. It is a cookbook but carries the gravity of a textbook that you need to "chew" again and again, while each time you can surely be getting something new out of it.
I love this book. Period.

The book is full of great ideas, modern C++ recipes, written very well By Marius Bancila. I suggest you also look at his other books. There are very well written. Some of the chapters are not that easy and kinda very advanced. So I found this book suitable for all levels. Some chapters are more for beginners and it goes all the way to super advanced.
It has C++20 which is why I also bought the 2nd edition. Not a lot of books with 20 out there these days and I was waiting for Marius to publish a book about C++20.
Overall I think this is a _great_ value for your money. You'll find it useful textbook when you deal with Modern C++.

I also really like how each topic within a chapter is covered. The book introduces the topic, describing what prerequisite knowledge you might need, then shows you code on how to perform some task. It then takes time to explain how that task works behind the scenes, and then provides references to other sections of the book that are helpful if you want to build upon your new knowledge of this topic. This consistent layout makes it easy to look up and find whatever information about a topic that you need.
I find the book's composition to be particularly useful - it's designed to be digestible so that you can check out a specific chapter based on your needs and interests. The book does make clear that it's not quite for beginners; you want to have a basic understanding of functions, classes, templates, macros, etc. before you dive into this book. But if you feel comfortable with C/C++ already, then this book does a great job of providing you with plenty of information to further strengthen your understanding and expertise of C++!