Sign in to follow this  
sprinter_trueno

c++ "design" books ?

Recommended Posts

Hello, Does anybody know books related to C++ design only ? What I am looking for, is not another book that explains what inheritance or polymorphing is, but explains which features of the language are useful, which not and why. I would not mind if the book is biast as long as an explanation is included. Further, it would be interesting to read or learn more about general static and dynamic design approaches for C++. If anybody know a good book or two, let me know. Thanks in advance.

Share this post


Link to post
Share on other sites
You can take a look at design patterns, OOD (Object Orianted Design),
and Software enginerring if you are interested:

Patterns

Lists alot of very good books including Scott Meyers "Effective C++" (a must read), and Stroustrups "C++ Programming Language"--another must read.

I also recommend, in addition to Scott Meyers and Stroustrup's books to
take a look at Code Complete 2nd ed

These are possible suggestions.

Share this post


Link to post
Share on other sites
Quote:
Original post by maximAL
"Modern C++ Design" should be what you're looking for

- unless you are new to all this programming-stuff. This book is a weapon of mass-destruction(TM) in unskilled hands.

Share this post


Link to post
Share on other sites
Quote:
which features of the language are useful, which not and why.
Every feature of the language is useful.

Except exception specifications.

Share this post


Link to post
Share on other sites
Quote:
Original post by Emmanuel Deloget
Quote:
Original post by Deyja
Quote:
which features of the language are useful, which not and why.
Every feature of the language is useful.

Except exception specifications.


And the export keyword.

And std::vector<bool> :P


And the auto, register, and volatile keywords. [smile]

Share this post


Link to post
Share on other sites
Quote:
Original post by Simian Man
... and volatile keywords. [smile]


believe it or not, I've had to use the volatile keyword ... at 2 DIFFERENT companies. Of course we were dealing with low-level devices and such, but it is important in those cases. (it is used when you need to tell the compiler that it cannot reuse (cache) the old value of a variable between uses, just because it can see that no visible code hasn't changed the variable (in this case, the variable represented a shared memory address that was modified out-of-process).

Share this post


Link to post
Share on other sites
I used volitale and register keywords when programming low level C.
(Never in any game or applications, though)

I keep forgetting about auto though (Shows how much times I use it[smile])

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this