Thread: C++ STL Book

  1. #1

    C++ STL Book

    Greetings,

    I currently have the book "The C++ Programming Language [Third Edition]" by Bjarne Stroustrup. It's a very good book. Though now, I want to move on to learning the C++ standard library. I don't know which book fits best for teaching and reference categories.

    If I could buy all the books I would, though I am only buying one at the moment. Which of the three books do you recommend?

    • The C++ Standard Library : A Tutorial and Reference by Nicolai M. Josuttis
    • C++ Templates: The Complete Guide by David Vandevoorde and Nicolai M. Josuttis
    • Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library by Scott Meyers


    I really like the first and the second book listed, though I'm not sure which has more information and detail. Any insight would be helpful.


    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I don't know about the other two, so I can't help you compare, but I have this one:

    The C++ Standard Library : A Tutorial and Reference by Nicolai M. Josuttis.

    It is good. It's much easier to read than Stroustrup, but less dense... less information overall. It seems to be a complete reference to the Standard Template Library. It doesn't cover the entire Standard Library. If I recall correctly (I don't have it with me.), it doesn't have any questions or exercises, so it's not really designed for self-study.

  3. #3
    Thanks alot. I'll probably get "The Standard C Library" this month to learn more about C and then buy the book by Nicolai M. Josuttis next month.

    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

  4. #4
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    I have the first and the third. The first is a great reference. The third has great tips and advice. If you feel comfortable using Stroustrup's book and the internet as your references, then I'd suggest the third book. Otherwise, buy the first book and go to the library and read Meyer's book.

    The second book might be better than both, but I have not read it so I do not know.

  5. #5
    Cool, seems like the first is popular I like references personally, so I'll probably buy that one. Thanks again.

    - Stack Overflow
    Segmentation Fault: I am an error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation violation error. This is often caused by improper usage of pointers, attempts to access a non-existent or read-only physical memory address, re-use of memory if freed within the same scope, de-referencing a null pointer, or (in C) inadvertently using a non-pointer variable as a pointer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Templates book discussion
    By manutd in forum C++ Programming
    Replies: 38
    Last Post: 01-18-2007, 03:56 PM
  2. Must read book!
    By RealityFusion in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-15-2004, 09:05 PM
  3. Should i get a new reference book?
    By Raison in forum Windows Programming
    Replies: 2
    Last Post: 06-15-2004, 10:43 PM
  4. STL multimaps / searching
    By Codulation in forum C++ Programming
    Replies: 7
    Last Post: 01-05-2004, 06:28 PM
  5. I"m selling a book...
    By St0rmTroop3er in forum Game Programming
    Replies: 2
    Last Post: 12-13-2003, 01:55 PM