Sunday, July 12, 2009

How easy is it to learn C++ if you already know the basics in Java?

I took AP Computer Science AB this year in Java but I want to learn C++, how easy is it to learn C++ and how can i do it?

How easy is it to learn C++ if you already know the basics in Java?
Depends on how well u learn
Reply:The syntax in C++ was the basis for Java's creation. They are, therefore, probably about as similar as programming languages get, syntax wise. Java is -smoother-, one must say. There's a lot more overhead, so it's easier to write, but C++ is way more powerful so it runs faster if you put in the effort.





Best way to learn is to buy a text book, and start from chapter on. You'll recognize all the concepts, so you'll know the theory; it's a matter of relearning syntax. Good luck!
Reply:If Java is second nature to you, I think it will only take you a week to pick up C++. You already have the object-oriented thinking, and much of the notation is the same.





If you did not already know C, you will notice that there is an explicit pointer type, which is lacking in Java.
Reply:It would be much more easier for you


C family languages nad java are very similar languages.By knowing one, you can easyly work with the other one
Reply:Well you will have to learn to deal with pointers and that could be the only hurdle. Other than that both are very similar and you shd have not much of a problem.





The best way to learn is always to pick up a book or try to source for videos online.





I believe that 3dbuzz.com has a really good videos.


They have a really good faq written as well on how to learn c++.
Reply:If you learned programming, along with Java, learning C++ is difficult. If you haven't learned programming yet (learning a language isn't learning programming), learning C++ well is just about impossible.


No comments:

Post a Comment