Create your own shelf sign up

Together we find better books

[−]
  • Search Conteggio caratteri ISBN valido ISBN non valido Codice a barre valido Codice a barre non valido loading search

The C++ Standard Library

A Tutorial and Reference

By

Publisher: Pearson Education (US)

4.6
(18)

Language:English | Number of Pages: 832 | Format: Hardcover

Isbn-10: 0201379260 | Isbn-13: 9780201379266 | Publish date:  | Edition 1st

Category: Professional & Technical

Do you like The C++ Standard Library ?
Join aNobii to see if your friends read it, and discover similar books!

Sign up for free
Book Description
The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components-and to benefit from their power-you need a resource that does far more than list the classes and their functions.

The C++ Standard Library not only provides comprehensive documentation of each library component, it also offers clearly written explanations of complex concepts, describes the practical programming details needed for effective use, and gives example after example of working code.

This thoroughly up-to-date book reflects the newest elements of the C++ standard library incorporated into the full ANSI/ISO C++ language standard. In particular, the text focuses on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms. You will also find detailed coverage of special containers, strings, numerical classes, internationalization, and the IOStream library. Each component is presented in depth, with an introduction to its purpose and design, examples, a detailed description, traps and pitfalls, and the exact signature and definition of its classes and their functions. An insightful introduction to fundamental concepts and an overview of the library will help bring newcomers quickly up to speed.

Comprehensive, detailed, readable, and practical, The C++ Standard Library is the C++ resource you will turn to again and again. An accompanying Web site, including source code, can be found at josuttis/.

[강컴닷컴 제공]
Sorting by
  • 5

    This is manual reference on new C++0x - C++11 - standard, there are also a well written tutorial and several examples.

    Supplementary Chapters, source code, errata and many other stuff on site[1] of the book:

    [1]http://www.cppstdlib.com/

    said on 

  • 4

    http://chchwy.blogspot.com/2011/08/c-standard-library-tutorial-and.html


    Effective C++第一條款就明寫「C++是一個語言聯邦。」 這個語言聯邦由四個次語言組成,分別是 C、 物件導向C++、Template C++、以及標準庫 STL。我去年接了大一程設課助教後,時不時的要上台教 C++,這份苦差事意外的挖出不少自己當年學習上的盲點。其中最大的問題就是我對C++的後兩個部分: Template C++以及 STL 不夠熟悉,因此才挑上這本書來讀。


    STL 是一個相當淺明易用的程式 ...continue

    http://chchwy.blogspot.com/2011/08/c-standard-library-tutorial-and.html

    Effective C++第一條款就明寫「C++是一個語言聯邦。」 這個語言聯邦由四個次語言組成,分別是 C、 物件導向C++、Template C++、以及標準庫 STL。我去年接了大一程設課助教後,時不時的要上台教 C++,這份苦差事意外的挖出不少自己當年學習上的盲點。其中最大的問題就是我對C++的後兩個部分: Template C++以及 STL 不夠熟悉,因此才挑上這本書來讀。

    STL 是一個相當淺明易用的程式庫,從我以前亂逛 cplusplus.com,糊里糊塗就可以隨便抄幾句 STL 來用就可以得證。本書對我的主要幫助不是學會STL,而是能夠從宏觀的視野來看待整個 STL,不管是好的方面還是壞的方面。就好像我以前都覺得 STL algorithm 異常難用,看了書才知道原來 STL algorithms 要搭配 function object 才能發揮威力。各種 Iterator 的錮中差異,也是看了此書後才有全盤了解。

    內容上我認為第五章是整本書的核心精華,這章清楚說明了 STL 三大組件的關係與腳色: Container 負責管理物件集合,Algorithm 是操作手法,而 Iterator 則扮演此二者間的黏著劑,讓雙方可以透過抽象手法互相作用,不會有過緊的依賴關係,由此可以看出 STL 設計之初軟體架構就相當軟Q。接下來六 ~ 九章是書本的主力內容,分別對Container、Iterator、Algorithm 做專門深入的探討。

    第八章 Function Object 我認為是值得一讀的特別章節,因為老實說 function object 這東西使用上並不直覺 (我一直覺得只有聰明鬼才能想出替 object 加上operator( ) 來當函數呼叫的餿主意 ),但是要靈活使用STL Algorithm,就一定要搭配 function object 才行。沒有function object,STL Algorithms 就只是彆腳程式庫。第十章之後還有介紹一些C++的其他標準庫,像是字串、I/O、國際化問題等等。

    整體來講,這是一本好書,但是有點無聊。本書安排內容的方式是把 STL 各個部分切開來,每部份分配一章,依照主題中規中矩的逐一的細講下去,這樣寫的優點是以後要查閱很方便,但是缺點就是容易有見樹不見林的問題,觀念不好融會貫通,而且拿來當學習書會有點囉嗦。舉的例子大多都是說明單一功能的短小片段,缺少明確的使用情境,比較不容易看出STL的威力。不過書名就明顯寫了「a Tutorial and Reference」,意思就是也是除了拿來學習還希望可以當 reference 用,那難免有點這類弊病。

    附帶一提這是德國人寫的英文書,所以文句很容易理解,幾乎沒有複雜難解又充滿詩意的句子,蠻適合當作練習閱讀原文書的材料。

    said on