I consider myself an experienced Java developer and am planning to get started with learning C++.
If you had same experience, i.e learn C++ after Java, I would like to hear your thoughts on what is the best approach at doing this.
[Update] "the best approach" was not well quantified. What I am looking for is to leverage my existing java knowledge and programming experience so that I can quickly ramp up on C++.
If you want to learn the full concept behind Java then I would suggest you to learn C as well. Learning Concept of C is not very difficult. You can go through just fundamentals of C from any basic tutorials available in net. There are also may books available.
Should I Learn Java or C++ first? Most programmers agree that Java is easier to learn first. Java's syntax is usually easier for new programmers to understand.
C is a middle-level language as it binds the bridges between machine-level and high-level languages. Java is a high-level language as the translation of Java code takes place into machine language, using a compiler or interpreter. C is only compiled and not interpreted. Java is both compiled and interpreted.
Learning C helps me write programs much better because I now know where memory leaks can occur or how to avoid them. I am sure is done for you in other higher-level languages but knowing this helps me optimize my program better through trying to write programs with memory in mind.
I've taught C++ to Java people, even though I learned them the other direction.
Are you comfortable with C? If not, read Kernighan and Ritchie. Many many peculiarities of C++ are explained by the desire for C++ to be a "Better C" with C's basic expression syntax.
You should get Stroustrup.
I think well of Thinking in C++ by Bruce Eckels.
I've used The C++ FAQ Book, by Cline, Lomow, and Girou; I refer to it pretty often. Marshall Cline has C++ FAQ content on his site, too.
You might also look at C++ for Java Programmers. I don't know the book but it looks decent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With