Modern C++ Programming Cookbook


Modern C++ Programming Cookbook
by Marius Bancila
Print Length 页数: 590 pages
Publisher finelybook 出版社: Packt Publishing (16 May 2017)
Language 语言: English
ISBN-10: 1786465183
ISBN-13: 9781786465184
B01MQDKPV8


Book Description
By finelybook

Over 100 recipes to help you overcome your difficulties with C++ programming and gain a deeper understanding of the working of modern C++
About This Book
Explore the most important language and library features of C++17,including containers,algorithms,regular expressions,threads,and more,
Get going with unit testing frameworks Boost.Test,Google Test and Catch,
Extend your C++ knowledge and take your development skills to new heights by making your applications fast,robust,and scalable.
Who This Book Is For
If you want to overcome difficult phases of development with C++ and leverage its features using modern programming practices,then this book is for you. The book is designed for both experienced C++ programmers as well as people with strong knowledge of OOP concepts.
What You Will Learn
Get to know about the new core language features and the problems they were intended to solve
Understand the standard support for threading and concurrency and know how to put them on work for daily basic tasks
Leverage C++’s features to get increased robustness and performance
Explore the widely-used testing frameworks for C++ and implement various useful patterns and idioms
Work with various types of strings and look at the various aspects of compilation
Explore functions and callable objects with a focus on modern features
Leverage the standard library and work with containers,algorithms,and iterators
Use regular expressions for find and replace string operations
Take advantage of the new filesystem library to work with files and directories
Use the new utility additions to the standard library to solve common problems developers encounter including string_view,any ,optional and variant types
In Detail
C++ is one of the most widely used programming languages. Fast,efficient,and flexible,it is used to solve many problems. The latest versions of C++ have seen programmers change the way they code,giving up on the old-fashioned C-style programming and adopting modern C++ instead.
Beginning with the modern language features,each recipe addresses a specific problem,with a discussion that explains the solution and offers insight into how it works. You will learn major concepts about the core programming language as well as common tasks faced while building a wide variety of software. You will learn about concepts such as concurrency,performance,meta-programming,lambda expressions,regular expressions,testing,and many more in the form of recipes. These recipes will ensure you can make your applications robust and fast.
By the end of the book,you will understand the newer aspects of C++11/14/17 and will be able to overcome tasks that are time-consuming or would break your stride while developing.
Style and approach
This book follows a recipe-based approach,with examples that will empower you to implement the core programming language features and explore the newer aspects of C++.
Contents
Chapter 1. Learning Modern Core Language Features
Chapter 2. Working With Numbers And Strings
Chapter 3. Exploring Functions
Chapter 4. Preprocessor And Compilation
Chapter 5. Standard Library Containers,Algorithms,And Iterators
Chapter 6. General Purpose Utilities
Chapter 7. Working With Files And Streams
Chapter 8. Leveraging Threading And Concurrency
Chapter 9. Robustness And Performance
Chapter 10. Implementing Patterns And Idioms
Chapter 11. Exploring Testing Frameworks
超过100种食谱帮助您克服C ++编程的困难,并更深入地了解现代C ++的工作
关于这本书
探索C ++ 17最重要的语言和库功能,包括容器,算法,正则表达式,线程等等,
使用单元测试框架Boost.Test,Google Test and Catch,
通过使您的应用程序快速,稳健和可扩展,扩展您的C ++知识,并将您的开发技能提升到新的高度。
这本书是谁
如果您想用C ++克服困难的开发阶段,并利用现代编程实践来利用其功能,那么这本书是为您而设。这本书是为经验丰富的C ++程序员以及对OOP概念的了解深刻的人设计的。
你会学到什么
了解新的核心语言功能及其解决的问题
了解线程和并发性的标准支持,并了解如何使其成为日常基本任务的工作
利用C ++的特性来提高稳健性和性能
探索广泛使用的C ++测试框架,并实现各种有用的模式和习语
使用各种类型的字符串,并查看编译的各个方面
探索功能和可调用对象,重点是现代功能
利用标准库并使用容器,算法和迭代器
使用正则表达式查找和替换字符串操作
利用新的文件系统库来处理文件和目录
使用新的实用程序添加到标准库来解决开发人员遇到的常见问题,包括string_view,any,可选和变体类型
详细
C ++是最广泛使用的编程语言之一。快速,高效,灵活,用于解决许多问题。最新版本的C ++已经看到程序员改变了代码的方式,放弃了旧式的C风格编程,并采用了现代C ++。
从现代语言功能开始,每个配方都会解决一个具体的问题,并通过讨论来解释解决方案,并提供对工作原理的了解。您将学习有关核心编程语言的主要概念以及构建各种软件所面临的常见任务。您将了解并发性,性能,元编程,lambda表达式,正则表达式,测试等多种概念,以及更多的配方形式。这些配方将确保您可以使您的应用程序健壮,快速。
在本书的最后,您将了解C ++ 11/14/17的较新方面,并且将能够克服在开发过程中耗费时间或打破大步的任务。
风格和方法
本书采用基于食谱的方法,通过实例可以实现核心编程语言功能,并探索C ++的较新方面。
目录
第一章学习现代核心语言特征
第二章使用数字和字符串
第3章探索功能
第四章预处理和编译
第5章标准库容器,算法和迭代器
第六章通用工具
第7章使用文件和流
第8章利用线程和并发性
第九章健壮性与表现
第10章实施模式和习语
第11章探索测试框架

相关文件下载地址

打赏
未经允许不得转载:finelybook » Modern C++ Programming Cookbook

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫