top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C++ best practices book

0 votes

I am looking for a book that will not teach c+, but will teach design patterns and practices such as RAII and etc. Does such a book exist that is recommended? More importantly (though doubtful), does something
like this exist for c+11? I assume that c+11 being as new as it is, there are probably some debates on specific techniques and they may not be as set in stone or evolved as c+03.

posted Aug 3, 2013 by Salil Agrawal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

Effective C++ by Scott Meyers is one of the books that I've read teaches the best practices. More effective C++ by the same author is also good. I considered myself as an expert in C++ before reading this book and was surprised to find out that there was much more to learn in C++.

Advanced practices includes the use of templates for various programming aspects. One of the best books on this front is C++ Template Metaprogramming (David Abrahams and Aleksey Gurtovoy).

Design patterns as the name indicates should be generic and applicable to all programming languages.

Not sure about C+11 though. The mainstream compilers are yet to implement the complete feature set offered in C+11 and may not be portable across various platforms. Any basic book like C++ Primer should be able to explain the primary changes in C+11. Nevertheless all the best practices before for C+03 is applicable to C+11.

answer Aug 4, 2013 by Balaji Rajappa
0 votes
answer Aug 3, 2013 by Deepak Dasgupta
Similar Questions
+1 vote

Is there a great book for RoR. I am looking for a book with a step by step approach and by PROJECTS!!
RoR needs to be 'practiced', and I didn't find those WORKING PROJECTS.

Am I dreaming or is this paper exists. All the books on amazon/flipkart are not amazing. They talks only about theory. Theory is fine, I mean this is RoR.