A Tour of C++ (Paperback)

Bjarne Stroustrup

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

商品描述

The C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, thoroughly covers the details of this language and its use in his definitive reference, The C++ Programming Language, Fourth Edition.

 

In A Tour of C++ , Stroustrup excerpts the overview chapters from that complete reference, expanding and enhancing them to give an experienced programmer–in just a few hours–a clear idea of what constitutes modern C++. In this concise, self-contained guide, Stroustrup 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++11, such as move semantics, uniform initialization, lambda expressions, improved containers, random numbers, and concurrency. The tour ends with a discussion of the design and evolution of C++ and the extensions added for C++11.

 

This guide does not aim to teach you how to program (see Stroustrup’s Programming: Principles and Practice Using C++ for that); nor will it be the only resource you’ll need for C++ mastery (see Stroustrup’s The C++ Programming Language, Fourth Edition, for that). 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++11標準允許程式設計師以更清晰、簡潔和直接的方式表達想法,並撰寫更快速、更高效的程式碼。C++的設計師和原始實現者Bjarne Stroustrup在他的權威參考書《C++程式設計語言,第四版》中詳細介紹了這個語言及其使用。

在《C++之旅》中,Stroustrup摘錄了該完整參考書的概述章節,並對其進行擴展和增強,以便在短短幾個小時內讓有經驗的程式設計師對現代C++有清晰的概念。在這本簡明、自成一體的指南中,Stroustrup涵蓋了大部分主要的語言特性和主要的標準庫組件,當然不會深入探討,但足以讓程式設計師對語言有一個有意義的概述,提供一些關鍵示例和實際的入門幫助。

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

這本指南不旨在教你如何程式設計(請參閱Stroustrup的《使用C++的程式設計原則和實踐》);也不會是你掌握C++所需的唯一資源(請參閱Stroustrup的《C++程式設計語言,第四版》)。然而,如果你是一位C或C++程式設計師,想要更熟悉當前的C++語言,或者是一位熟悉其他語言的程式設計師,希望對現代C++的性質和優勢有一個準確的了解,那麼你找不到比這本旅程提供的更簡短或更簡單的介紹了。