C++ Standard Library Quick Reference (Paperback)

Peter Van Weert, Marc Gregoire

  • 出版商: Apress
  • 出版日期: 2016-06-14
  • 售價: $1,450
  • 貴賓價: 9.5$1,378
  • 語言: 英文
  • 頁數: 211
  • 裝訂: Paperback
  • ISBN: 1484218752
  • ISBN-13: 9781484218754
  • 相關分類: C++ 程式語言
  • 無法訂購

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

相關主題

商品描述

This quick reference is a condensed reference guide to the essential data structures, algorithms, and functions provided by the C++ Standard Library. More specifically, this is a compact collection of essential classes and functions, used by C++ programmers on a daily basis. The C++ Standard Library Quick Reference features core classes for strings, I/O streams, and various generic containers, as well as a comprehensive set of algorithms to manipulate them. In recent years, the C++11 and C++14 standards have added even more efficient container classes, a new powerful regular expression library, and a portable multithreading library featuring threads, mutexes, condition variables, and atomic variables.

Needless to say, it is hard to know and remember all the possibilities, details, and intricacies of this vast and growing 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, including all aforementioned functionality. 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 well-chosen, clarifying examples. The book does not explain the C++ language or syntax, but is accessible to anyone with basic C++ knowledge. Even the most experienced C++ programmer though will learn a thing or two from it and find it a useful memory-aid.

 
 
What You Will Learn
 
• The essentials that the C++ Standard Library has to offer
• How to use containers to efficiently store and retrieve your data
• How to use algorithms to inspect and manipulate your data

• How lambda expressions allow for elegant use of algorithms

• What the standard string class provides and how to use it
• What functionality the library provides for file and stream-based I/O
• What smart pointers are and how to use them to prevent memory leaks
• How to write safe and efficient multi-threaded code using the C++11 threading libraries
 
 
Who This Book Is For
 
 

商品描述(中文翻譯)

這本《C++標準庫快速參考》是一本簡明的參考指南,提供了C++標準庫所提供的基本資料結構、演算法和函數。更具體地說,這是一個緊湊的集合,包含了C++程式設計師每天使用的基本類別和函數。《C++標準庫快速參考》包含了用於字串、I/O串流和各種通用容器的核心類別,以及一套全面的演算法集合來操作它們。近年來,C++11和C++14標準還新增了更高效的容器類別、一個功能強大的正則表達式庫,以及一個可移植的多線程庫,包括線程、互斥鎖、條件變數和原子變數。

不用說,要了解和記住這個龐大且不斷增長的庫的所有可能性、細節和複雜性是困難的。因此,這本方便的參考指南對於任何C++程式設計師來說都是不可或缺的。它提供了C++標準庫所有重要方面的簡明、結構良好的摘要,包括前述的所有功能。沒有冗長的例子或鮮為人知的、很少使用的功能。相反,它以緊湊、直截了當的風格概述了你在實踐中需要知道和注意的一切,並穿插著精心選擇的、澄清的例子。這本書不解釋C++語言或語法,但對於具有基本C++知識的任何人都是可理解的。即使是最有經驗的C++程式設計師也會從中學到一兩件事情,並發現它是一個有用的記憶輔助工具。

你將學到什麼:
- C++標準庫所提供的基本功能
- 如何使用容器高效地存儲和檢索數據
- 如何使用演算法檢查和操作數據
- 如何使用lambda表達式優雅地使用演算法
- 標準字串類別提供了什麼功能以及如何使用它
- 標準庫為文件和基於串流的I/O提供了什麼功能
- 智能指針是什麼,如何使用它們來防止內存洩漏
- 如何使用C++11線程庫編寫安全高效的多線程代碼

這本書適合對C++標準庫有興趣的讀者,無論是初學者還是有經驗的程式設計師。