Best way/place to learn C++?

Hello,

I have moved from Unity3D to Unreal Engine 4 (UE4), and I am starting to learn some stuff. But, I see that it uses C++ for programming. Coming from a C# and Java background, some of the stuff makes sense. But others, I just don’t get at ALL. Just so weird, I am not sure if C++ is a “high” level programming language. I would say about mid-level programming language. But anyway, what is the best way/place to learn C++? Don’t direct me to UE4’s website, because I am going through that tutorial right now. But, should I buy a book? Or is there a good C++ website? Also, if you guys know a good book, please let it be $60 and under.

No need to use a book. Here’s a few simple differences from Java;

#include instead of import
Manual garbage collection (you have to destroy variables or they will use up a bunch of RAM)
No “string”, use char*. (string is in the std namespace, but using that is not recommended unless necessary)

If you have any questions, just ask me. :slight_smile: Happy … coding!

1 Like

Read the bible.

Not specific to C++ but getting a good foundation in C (all C code is also valid C++ code) will eliminate so much headache and heartbreak later on. As for the C++ specifics, just use a guide like the one below, since you already know Java:

http://www.horstmann.com/ccj2/ccjapp3.html

note: the book is popular enough that anyone mildly resourceful might find alternative means of acquiring it without much effort.

He just needed the basics, I’ve helped him through PM :slight_smile:

I like to approach the world with the assumption that learning is people’s primary motivation for doing anything.

:unamused:

That was philisophical. Not sure how to respond. I’ll be off.