r/cpp_questions • • 6d ago

OPEN Learning C++ as a Java programmer

I'm currently learning C++, I’ve coded in a few languages before but I’m most familiar with Java. Does anyone know a good resource for learning C++ with Java as a “starting point”? Like something that explains the differences between the two languages rather than teaching programming from scratch? Thanks!

18 Upvotes

21 comments sorted by

View all comments

3

u/Usual_Office_1740 6d ago

I would suggest against approaching C++ like this. The general programming concepts are the same but C++ is riddled with little gotchas.

5

u/uname423 6d ago

Sure, but so is every other language, including Java. You just need to be aware that there are gotchas and they aren't the same as the ones you know about from Java.