C++17 Standard Library Quick Reference: A Pocket Guide to the Language, Apis, and Library

Van Weert, Peter, Gregoire, Marc

  • 出版商: Apress
  • 出版日期: 2019-07-31
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 230
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484249224
  • ISBN-13: 9781484249222
  • 相關分類: C++ 程式語言
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

This quick reference is a condensed guide to the essential data structures, algorithms, and functions provided by the C++17 Standard Library. It does not explain the C++ language or syntax, but is accessible to anyone with basic C++ knowledge or programming experience. Even the most experienced C++ programmer will learn a thing or two from it and find it a useful memory-aid.
It is hard to remember all the possibilities, details, and intricacies of the vast and growing Standard Library. This handy reference guide is therefore indispensable to any C++ programmer. It offers a condensed, well-structured summary of all essential aspects of the C++ Standard Library. No page-long, repetitive examples or obscure, rarely used features. Instead, everything you need to know and watch out for in practice is outlined in a compact, to-the-point style, interspersed with practical tips and well-chosen, clarifying examples.
It covers what's new, including fold expressions, constexpr if, initializers in if/switch statements, structured binding declarations, template deduction of constructors, guaranteed copy elision, auto_ptr and trigraphs removed, string_View, parallel algorithm of the STL, the filesystem library, std:: any, std:: optional, and std: variant.
What You Will Learn

  • Gain the essentials that the C++ Standard Library has to offer
  • Use containers to efficiently store and retrieve your data
  • Inspect and manipulate your data with algorithms
  • See how lambda expressions allow for elegant use of algorithms
  • Discover what the standard string class provides and how to use it
  • Write localized applications
  • Work with file and stream-based I/O
  • Prevent memory leaks with smart pointers
  • Write safe and efficient multi-threaded code using the threading libraries


Who This Book Is For
All C++ programmers, irrespective of their proficiency with the language or the Standard Library. A secondary audience is developers who are new to C++, but not new to programming, and who want to learn more about the C++ Standard Library in a quick, condensed manner.

商品描述(中文翻譯)

這本快速參考手冊是對C++17標準庫提供的基本資料結構、演算法和函數的縮短指南。它不解釋C++語言或語法,但對於具有基本C++知識或編程經驗的任何人都是可理解的。即使是最有經驗的C++程序員也會從中學到一兩個東西,並發現它是一個有用的記憶輔助工具。

要記住廣泛且不斷增長的標準庫的所有可能性、細節和複雜性是困難的。因此,這本方便的參考指南對於任何C++程序員來說都是必不可少的。它提供了C++標準庫所有基本方面的縮短、結構良好的摘要。沒有長篇的重複示例或鮮為人知的、很少使用的功能。相反,它以簡潔、直接的方式概述了實踐中需要了解和注意的一切,並夾雜著實用的提示和精心選擇的澄清示例。

它涵蓋了一些新功能,包括折疊表達式、constexpr if、if/switch語句中的初始化器、結構綁定聲明、構造函數的模板推導、保證的拷貝省略、auto_ptr和三字符序列被移除、string_View、STL的並行算法、文件系統庫、std::any、std::optional和std:variant。

你將學到什麼


  • 獲得C++標準庫提供的基本知識

  • 使用容器高效地存儲和檢索數據

  • 使用算法檢查和操作數據

  • 了解lambda表達式如何優雅地使用算法

  • 瞭解標準字符串類提供的功能以及如何使用它

  • 編寫本地化應用程序

  • 使用基於文件和流的I/O

  • 使用智能指針防止內存泄漏

  • 使用線程庫編寫安全高效的多線程代碼

本書適合對象

所有C++程序員,無論他們對語言或標準庫的熟練程度如何。次要的讀者是對C++不是很熟悉,但對編程不陌生並且想以快速縮短的方式了解更多關於C++標準庫的開發人員。

作者簡介

Marc Gregoire is a software engineer from Belgium. He graduated from the University of Leuven, Belgium, with a degree in "Burgerlijk ingenieur in de computer wetenschappen" (equivalent to Master of Science in engineering in computer science). The year after, he received the cum laude degree of master in artificial intelligence at the same university. After his studies, Marc started working for a software consultancy company called Ordina Belgium. As a consultant, he worked for Siemens and Nokia Siemens Networks on critical 2G and 3G software running on Solaris for telecom operators. This required working in international teams stretching from South America and USA to EMEA and Asia. Now, Marc is working for Nikon Metrology on industrial 3D laser scanning software. His main expertise is C/C++, and specifically Microsoft VC++ and the MFC framework. He has experience in developing C++ programs running 24x7 on Windows and Linux platforms; for example, KNX/EIB home automation software. Next to C/C++, Marc also likes C# and uses PHP for creating web pages. Since April 2007, he received the yearly Microsoft MVP (Most Valuable Professional) award for his Visual C++ expertise. Marc is the founder of the Belgian C++ Users Group, author of Professional C++ and a member on the CodeGuru forum (as Marc G).

 

Peter Van Weert is a Belgian software engineer, whose main interests and expertise are programming languages, algorithms, and data structures. He received his master of science in computer science summa cum laude with congratulations of the Board of Examiners from the University of Leuven. In 2010, he completed his PhD thesis on the design and efficient compilation of rule based programming languages at the declarative programming languages and artificial intelligence department of the same university. During his doctoral studies, he was a teaching assistant for object-oriented programming (Java), software analysis and design, and declarative programming. After graduating, Peter joined Nikon Metrology to work on large-scale, industrial application software in the area of 3D laser scanning and point cloud inspection. At Nikon, he has mastered C++, refactoring and debugging very large code bases, and has gained further proficiency in all aspects of the software development process, including the analysis of functional and technical requirements, and agile and scrum-based project and team management. In his spare time, he has co-authored two award-winning Windows 8 apps, and is a regular speaker at and board member of the Belgian C++ Users Group.

作者簡介(中文翻譯)

Marc Gregoire是來自比利時的軟體工程師。他畢業於比利時魯汶大學,獲得了計算機科學工程學士學位。隔年,他在同一所大學獲得了人工智慧碩士學位,並以優異成績畢業。在完成學業後,Marc開始在一家名為Ordina Belgium的軟體諮詢公司工作。作為一名顧問,他曾為西門子和諾基亞西門子網絡公司開發運行在Solaris上的關鍵2G和3G軟體,供電信運營商使用。這需要他在南美洲、美國、歐洲、中東和亞洲等地的國際團隊中工作。現在,Marc在Nikon Metrology公司從事工業3D激光掃描軟體的開發。他的主要專長是C/C++,尤其是Microsoft VC++和MFC框架。他有開發在Windows和Linux平台上24x7運行的C++程式的經驗,例如KNX/EIB家庭自動化軟體。除了C/C++,Marc還喜歡C#,並使用PHP創建網頁。自2007年4月以來,他因其在Visual C++方面的專業知識而每年獲得Microsoft MVP(最有價值專家)獎。Marc是比利時C++使用者組的創始人,也是《Professional C++》的作者,並且是CodeGuru論壇的成員(以Marc G的名義)。

Peter Van Weert是比利時的軟體工程師,他的主要興趣和專長是程式語言、演算法和資料結構。他以優異成績獲得了比利時魯汶大學計算機科學碩士學位,並獲得考試委員會的祝賀。2010年,他在同一所大學的宣告性程式語言和人工智慧部門完成了關於基於規則的程式語言設計和高效編譯的博士論文。在攻讀博士學位期間,他擔任過面向對象編程(Java)、軟體分析和設計以及宣告性程式設計的助教。畢業後,Peter加入了Nikon Metrology公司,從事大規模工業應用軟體的開發,專注於3D激光掃描和點雲檢測領域。在Nikon,他精通C++,能夠重構和調試非常大的程式碼庫,並在軟體開發過程的各個方面,包括功能和技術需求分析,以及敏捷和Scrum專案和團隊管理方面獲得了更深的造詣。在業餘時間,他曾共同編寫過兩個獲獎的Windows 8應用程式,並且是比利時C++使用者組的常駐演講者和董事會成員。