Saturday, May 22, 2010

What is the best way to learn C++?

What are some good book, institutes, etc.?

What is the best way to learn C++?
http://accu.org/index.php/book_reviews?u...





Either C++ Primer by Lippman or Accelerated C++ by Koenig are good first choices. Definitely get a technically accurate book.





@Wesley C:


"If you already know how to program then books that just contain syntax are a waste of time because you can find the syntax on the internet."


It's not that straightforward. Quite a number of internet resources get the C++ syntax wrong, or are too superficial. Many are outdated or pretend the STL doesn't exist.





"Once you know how to program in one language they're all mostly the same"


Ok, so if you know C++, I'm sure you'll have no problem with Lisp?





"If you're doing c++ and have never done object oriented programming you'd be better off to get a good object oriented design book to learn about the concept of oo."


No, learn C++ properly. You can play around with design patterns once you have a good solid understanding of basic computer science concepts. Learn to walk before you run.
Reply:If you already know how to program then books that just contain syntax are a waste of time because you can find the syntax on the internet. Once you know how to program in one language they're all mostly the same. If you're doing c++ and have never done object oriented programming you'd be better off to get a good object oriented design book to learn about the concept of oo. You'd be way better off spending you're money on a design pattern book or something. Here is a link to a really good book for design patterns http://www.amazon.com/Design-Patterns-Ob...





@csanon .


obviously lisp is completely different as prolog would be too. But what percentage of developers actually program in logical or functional programming languages?? The point that I am making is that through my personal experience books of syntax are a waste of time. If you're want to learn lisp you ought to study functional program design first. If you want to learn c++ learn object oriented design first. I've known quite a few developers who have all the c++ syntax in the world memorized but are horrible at object oriented design and developement.





I agree learn to walk before you run, and I personally think that the syntax is quite simple and is less important that the whole concept of how to design something in the that style, in this case object oriented.
Reply:The best way to learn is by doing it. Get a book on regular C++, not specifically for Windows and learn it. Or use MSDN.


No comments:

Post a Comment