Tuesday, July 14, 2009

What is the best way to learn C++?

I'm a well-versed C programmer and have recently started reading the C++ programming langauge (3rd edition) by Stroustrup (creator of C++), but was wondering if any one had any suggestions for me.

What is the best way to learn C++?
You are absolutely already on the right track. TCPL by Stroustrup is the best book out the for learning C++. I came from a similar background. I programmed in C for many years before moving up to C++. The transition from procedure oriented coding to object oriented coding can be a little difficult, but the more you immerse yourself in it, the easier it will get and the more power that you realize from it. There have been times where I've written code in C++ and been almost in disbelief by how quickly and effectively I was able to do it, whereas in C, it would've taken 10 times as long and would have 10 times the bugs.





You're on the right track. Just keep on truckin'.
Reply:Maybe try looking into a college class or tech school just teaching that class you need. Good Luck
Reply:That's an excellent book which covers pretty much everything C++ has to offer. Try to do all the exercises after each chapter and take into consideration the suggestion Stroustrup is pointing out... It can help you a lot.


Another thing is don't focus on just one book and practice as much as you can.
Reply:I would say that book is your best bet. You already know how to program, and learning C++ isn't that huge of a jump from C at least with your preexisting knowledge.


No comments:

Post a Comment