Modern C++ Programming Cookbook, 2/e (Paperback)

Bancila, Marius

  • 出版商: Packt Publishing
  • 出版日期: 2020-09-11
  • 售價: $1,880
  • 貴賓價: 9.5$1,786
  • 語言: 英文
  • 頁數: 750
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800208987
  • ISBN-13: 9781800208988
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Over 100 recipes to help you overcome your difficulties with C++ programming and gain a deeper understanding of the working of modern C++

Key Features

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

Book Description

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.

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

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.

商品描述(中文翻譯)

超過100個食譜,幫助您克服C++編程的困難,並深入了解現代C++的工作原理。

主要特點:

- 探索C++17的最重要的語言和庫特性,包括容器、算法、正則表達式、線程等。
- 開始使用單元測試框架Boost.Test、Google Test和Catch。
- 通過使應用程序快速、強大和可擴展,擴展您的C++知識,提高開發技能。

書籍描述:

C++是最廣泛使用的編程語言之一。它快速、高效、靈活,用於解決許多問題。最新版本的C++使程序員改變了編碼方式,放棄了老式的C風格編程,轉而採用現代C++。

從現代語言特性開始,每個食譜都解決了特定的問題,並提供了解決方案的討論和洞察力。您將學習有關核心編程語言的主要概念,以及在構建各種軟件時面臨的常見任務。您將通過食譜了解並掌握並發性、性能、元編程、lambda表達式、正則表達式、測試等概念。這些食譜將確保您的應用程序健壯且快速。

通過閱讀本書,您將了解C++11/14/17的新特性,並能夠克服開發中耗時或可能中斷您進程的任務。

您將學到的內容:

- 了解新的核心語言特性及其解決的問題
- 理解線程和並發的標準支持,並知道如何在日常基本任務中使用它們
- 利用C++的特性提高健壯性和性能
- 探索C++的常用測試框架,實現各種有用的模式和習慣用法
- 使用各種類型的字符串,並查看編譯的各個方面
- 探索函數和可調用對象,重點關注現代特性
- 利用標準庫,使用容器、算法和迭代器
- 使用正則表達式進行查找和替換字符串操作
- 利用新的文件系統庫來處理文件和目錄
- 使用標準庫的新實用工具來解決開發人員常遇到的常見問題,包括string_view、any、optional和variant類型

本書適合對C++開發的困難階段感到困惑,並希望利用現代編程實踐來發揮其特性的讀者。本書旨在為有經驗的C++程序員和對面向對象編程概念有深入了解的人設計。