Hooray! You have added the first book to your bookshelf. Check it out now!
Create your own shelf sign up
[−]
  • Search Digit-count Valid ISBN Invalid ISBN Valid Barcode Invalid Barcode

The C++ Standard Library

A Tutorial and Reference

By Nicholai M. Josutti

(51)

| Hardcover | 9780201379266

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. Josuttis' book not only provides comprehensive documentation of each library component, it also offers clearly written explanations of Continue

The C++ Standard Library provides a set of common classes and interfaces that greatly extend the core C++ language. Josuttis' book 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.

3 Reviews

Login or Sign Up to write a review
  • 1 person finds this helpful

    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/

    Is this helpful?

    luca said on Sep 20, 2012 | Add your feedback

  • 1 person finds this helpful

    http://chchwy.blogspot.com/2011/08/c-standard-library-t… Effective C++第一條款就明寫「C++是一個語言聯邦。」 這個語言聯邦由四個次語言組成,分別是 C、 物件導向C++、Template C++、以及標準庫 STL。我去年接了大一程設課助教後,時不時的要上台教 C++,這份苦差事意外的挖出不少自己當年學習上的盲點。其中最大的問題就是我對C++的後兩個部分: Template C++以及 STL ...(continue)

    http://chchwy.blogspot.com/2011/08/c-standard-library-t…

    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 用,那難免有點這類弊病。

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

    Is this helpful?

    Chia-wen Chang said on Aug 6, 2011 | Add your feedback

  • 1 person finds this helpful

    Excellent reference

    I've been mainly using it to refer about the STL containers and algorithms. The book is great and newbie friendly.

    Is this helpful?

    Ashwin Nanjappa said on Aug 10, 2007 | Add your feedback

Book Details

  • Rating:
    (51)
    • 5 stars
    • 4 stars
  • English Books
  • Hardcover 832 Pages
  • ISBN-10: 0201379260
  • ISBN-13: 9780201379266
  • Publisher: Pearson Education (US)
  • Publish date: 1999-08-12
  • Dimensions: 316 mm x 1,244 mm x 1,554 mm
Improve_data of this book