A Tour of C++, 2/e (Paperback) (C++ 之旅(第二版))

Bjarne Stroustrup

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

相關主題

商品描述

In  A Tour of C++, Second Edition, Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide covers most major language features and the major standard-library components—not, of course, in great depth, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started.

 

Stroustrup presents the C++ features in the context of the programming styles they support, such as object-oriented and generic programming. His tour is remarkably comprehensive. Coverage begins with the basics, then ranges widely through more advanced topics, including many that are new in C++17, such as move semantics, uniform initialization, lambda expressions, improved containers, random numbers, and concurrency. The tour even covers some extensions being made for C++20, such as concepts and modules, and ends with a discussion of the design and evolution of C++.

 

This guide does not aim to teach you how to program (for that, see Stroustrup’s Programming: Principles and Practice Using C++, Second Edition), nor will it be the only resource you’ll need for C++ mastery (for that, see Stroustrup’s The C++ Programming Language, Fourth Edition, and recommended online sources). If, however, you are a C or C++ programmer wanting greater familiarity with the current C++ language, or a programmer versed in another language wishing to gain an accurate picture of the nature and benefits of modern C++, you can’t find a shorter or simpler introduction than this tour provides.

商品描述(中文翻譯)

在《C++旅程,第二版》中,C++的創造者Bjarne Stroustrup描述了什麼構成了現代C++。這本簡潔、自成一體的指南涵蓋了大部分主要的語言特性和主要的標準庫組件,當然不會深入探討,但足以給程序員提供對語言的有意義的概述、一些關鍵示例和實際的入門幫助。

Stroustrup將C++的特性放在它們所支持的編程風格的背景下介紹,例如面向對象和泛型編程。他的旅程非常全面。內容從基礎知識開始,然後廣泛涵蓋更高級的主題,包括C++17中的許多新特性,如移動語義、統一初始化、lambda表達式、改進的容器、隨機數和並發性。這次旅程甚至涵蓋了一些為C++20進行的擴展,如概念和模塊,並以C++的設計和演進的討論結束。

這本指南的目標不是教你如何編程(關於這一點,請參閱Stroustrup的《使用C++的編程原則與實踐,第二版》),也不會是你掌握C++所需的唯一資源(關於這一點,請參閱Stroustrup的《C++程序設計語言,第四版》和推薦的在線資源)。然而,如果你是一個C或C++程序員,想要更熟悉當前的C++語言,或者是一個熟悉其他語言的程序員,希望獲得關於現代C++的性質和好處的準確概述,那麼你找不到比這本旅程提供的更短、更簡單的介紹了。