In this post you will know the Best Books to learn C++ for Beginners. In my experience, one single book doesn't suffice to learn C++. Learning a programming language is very much like learning a natural language. When you learn a natural language - you learn the alphabets, the words, learn to construct simple lines, then complex lines and then be able to organize your thoughts and express them in the form of an essay. Similarly, learning a programming language requires you to learn the various keywords, data types, learn to construct simple programs, then complex programs and the be able to organize your ideas and and express them in the form of an application. All these different stages require some amount of help and different books help with different things.
However there were a few books which I found to be relatively easy to comprehend when I was learning C++, those were:
1. Let Us C++ by Yashwant Kanetkar
2. The C++ Programming Language by Bjarne Stroustrup
3. C++ Primer by Stanley B. Lippman
4. Programming: Principles and Practice Using C++ by Bjarne Stroustrup
- If you are a beginner and you have very little experience in programming, then you need to start with C++ Primer. This teaches you the ABC of C++ and gives you an understanding of the basics that you will need to write a simple program in C++.
- The next book to read is Thinking in C++. In the book, you will learn the various nuances with the standard library and it is filled with "here is what you should be looking for" tips.
- Now, one buzz word that you will keep hearing about is "Object Oriented Programming". But, keep in mind that Object Oriented Programming is not the same as C++. Object oriented programming is a paradigm/style of programming and it is not tied to any particular language. Many different languages support this paradigm or style. C++ is a multi-paradigm supporting language. However, the most default style in which most people generally write C++ code is object oriented. To that end, a very good book to take advantage of is Object-Oriented Programming in C++. It is filled with many many example code that you can try to understand and learn from.
- However, just being able to write a reasonably good C++ program isn't enough. One needs to be able to write good C++ program. Effective C++: 55 Specific Ways to Improve Your Programs and Designs does a good job at this and one can take it further with Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions.
- Now, there are some advanced techniques and design patterns that are very useful to know. I would recommend reading Modern C++ Design: Generic Programming and Design Patterns Applied.
- Once you go through the above, you should be in a good position. Now, what you need is a strong reference book that you can go back to when you need to figure out somethings. For that, you need to have The C++ Programming Language, 4th Edition.
This is a bit daunting I know, but you don't have to learn everything in a single shot (I doubt anybody can). Take it slowly and pick up and learn whatever you feel like learning and the rest can wait. You can always go back and learn whatever you left out.
No comments:
Post a Comment