开发者

Is there any good book for Boost library C++ and for Object Oriented Design in C++? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

This post is about 2 questions in one:

  1. Good books for Boost C++ library
  2. OO Design in C++. I come from Java background and tend to think in terms of Interfaces, Singletons et开发者_StackOverflow社区c. How do I translate it to C++ or how to start thinking differently for C++

-Ajay


For #1, "Beyond the C++ Standard Library: An Introduction to Boost" and "C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond".


for boost: http://en.highscore.de/cpp/boost/ I have only just peeked at it, but it is free for on-line browsing, so worth a look.


Also:

  1. The Boost Graph Library: User Guide and Reference Manual by Jeremy G. Siek, Lie-Quan Lee, and Andrew Lumsdaine
  2. Modern C++ Design: Generic Programming and Design Patterns Applied (Andrei Alexandrescu)


Some good books are :

Thinking in C++
Effective C++, More Effective C++
Modern C++ Design
Design Patterns

However to evolve towards being a better C++ programmer, you may have to rethink the paradigm of OO as the only approach. This opinion is controversial, but some really smart guys (like Alex Stepanov who created the STL) subscribe to this view.
Modern C++ code relies on generics and template meta-programming more than OO. With the inclusion of Lambdas into the C++0x standard you can push that even further.


Besides the ones mentioned here, I would recommend

Effective STL by Scott Meyers

C++ Gems, edited by Stanley Lippman, contains selected columns from C++ report.

C++ Gotchas by Stephen Dewhurst

Besides these if you are looking for a online source of good C/C++ writing, try Dan Saks columns here

http://www.embedded.com/columns/archive/?content_type=pp


Just case on the market:

Introduction to Boost C++ Libraries: Volume 1

Also 2nd volume coming out later this year:

Introduction to Boost C++ Libraries: Volume 2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜